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 stuff. However, I have an app that appears to be crashing with 64 mb of heap size. I'm printing out the heap size (in bytes) every few seconds until it crashes, and here's the last output:
66650112 Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.lang etc
I'm using Sun's java. Is there another place I need to set the maximum ram available to java?