I get this error when I launch or debug my GA / AI from MyEclipse:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
eclipse.ini looks like this:
-showsplash com.genuitec.myeclipse.product --launcher.XXMaxPermSize 256m -vmargs -Xms128m -Xmx512m -Duser.language=en -XX:PermSize=128M -XX:MaxPermSize=256M
MyEclipse is called like this:
"C:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe" -vm "C:\Program Files\MyEclipse 6.0\jre\bin\javaw.exe" -vmargs -Xms1448M -Xmx1448M
bumping vm settings:
"C:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe" -vm "C:\Program Files\MyEclipse 6.0\jre\bin\javaw.exe" -vmargs -Xms80M -Xmx1024M
has no effect. So I'm trying to get it to dump a bunch into a file, but putting them:
-XX:+HeapDumpOnCtrlBreak -XX:+HeapDumpOnOutOfMemoryError
in the arguments of the program is not affected. How do I get something to work with a great analysis of memory usage? jstack, for example, is currently not available on Windows platforms. And using SendSignal does not affect what I see.

source share