Here is my eclipse.ini file:
-startup plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519 -product org.eclipse.epp.package.java.product --launcher.XXMaxPermSize 256M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m -vmargs -Dosgi.requiredJavaVersion=1.5 -Xms40m -Xmx256m
Default. However, I have an application that seems to crash with a 64 MB heap size. I print the heap size (in bytes) every few seconds until it works, and here is the last output:
66650112 An exception occurred in the main thread java.lang.OutOfMemoryError: Java heap space on java.lang, etc.
I am using Sun java. Is there any other place where I need to set the maximum ram available for java?
source share