Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] Out of memory error

Hello Team,

 

I am facing some issue when extending WTP framework to work with myServer (custom server) and creation of web service.

I am getting out of memory error with the stack trace as bellow.

In Pre service develop command.

org.eclipse.core.runtime.CoreException[1]: java.lang.OutOfMemoryError: PermGen space

      at org.apache.tools.ant.Project.executeTarget(Project.java:1223)

      at org.apache.tools.ant.Project.executeTargets(Project.java:1062)

      at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:704)

      at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:455)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:585)

      at org.eclipse.ant.core.AntRunner.run(AntRunner.java:356)

      at com.bea.wlw.webservices.core.model.GenerationScript.run(GenerationScript.java:160)

      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

Caused by: java.lang.OutOfMemoryError: PermGen space

--- Nested Exception ---

java.lang.OutOfMemoryError: PermGen space

In Pre service assemble command.

In Pre service deploy command.

In Pre service install command.

In Pre service run command.

 

I have tried setting the PermGen size into eclipse.ini as

 

-vmargs

-Xms256m

-Xmx1024m

-XX:PermSize=256m

-XX:MaxPermSize=1024m

 

Still the problem is not getting solved. Not sure if this problem is seen by anybody in this team.

Does anyone know why this problem comes?

 

Your suggestions are highly appreciated.

 

Thanks

 

~ <SandeepDarvekar/>

 


Back to the top