Java – OutOfMemory in Eclipse in a Launched process


I have an OutOfMemory (heap size) in eclipse using a third party plugin
The plug in is Adobe Livecycle work bench and during the out of memory the
plugin is retrieving via WS (using Axis) a list of around 70 workflow components
on my server

Here is a extract of my call stack in Eclipse

… at org.eclipse.equinox.launcher.Main.main(

Caused by: java.lang.OutOfMemoryError: Java heap space; nested
exception is: java.lang.OutOfMemoryError: Java heap space at
org.apache.axis.message.SOAPFaultBuilder.createFault …

I am using this eclipse.ini


I don't use any commandline options

I have added -Xmx1024m to my only Installed JRE in Java/Installed JREs

It seems to me that :
-eclipse is not OutOfMemory itself
it displays only 300Mo out of 1024Mo used
it continues working properly
-the plugin launch its axis parsing without giving it enough memory

Questions :
– Are my suppositions right ?
– How do I find where and how to give more memory to the process launched by eclipse launcher ?

Best Solution

Have you changed your launched VM arguments from the preferences window? Try this:

Java->Installed JREs
(select your jre here)->Edit..
Default VM Arguments: -Xmx1024m (or whatever size you like)

Edit 1: Based on your comments, I see that you've already tried this. I assumed that you did not try it based on the portion of your question that reads "How do I find where and how to give more memory to the process launched by eclipse launcher ?". I guess we all know what happens when we assume!

Have you considered upping the memory to something larger just to see if you can get it to run (and possibly get some more info about what is causing it to crash)? Try -Xmx2048m or larger depending on your available memory.

Can you add some information to your question that gives us an idea of what the plugin does? Is this project a web service? etc..