Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

If you ever need to increase Eclipse 3.1's startup min max memory settings consider modifying the vm settings in the file eclipse.ini to increase your memory heap.

While Eclipse 3.1's default memory size has been increased to 40M minimum heap and 256M 512M maximum heap, it may not be sufficient . In my case, earlier versions of Eclipse (pre 3.1) my JVM continually crashed when loading up Sakai projects--the result perhaps of extending the Eclipse IDE to use MyEclipse 4. 0 M2 (although my JVM continued to implode even after deactivating a gaggle of MyEclipse Genuitec plugins normally activated on startup). Changing my startup min max memory settings appears to have righted the good ship Eclipse so I thought I would share my experience.

...

You can also startup eclipse from the command line with appended -vmargs arguments but I'll leave it to others to outline that procedure.

My IDE:
Eclipse SDK Eclipse Ganymede
Version: 3.1.0 Build id: I20050627-1435
MyEclipse 4.0 M2 4.2
Build id: 20050627-4.0-Milestone-2M20090211-1700

eclipse.ini
location: eclipse/Eclipse.app/Contents/MacOS/eclipse.ini

My changes (for the moment):

No Format
-vmargs
-Xdock:icon=showsplash
org.eclipse.platform
-startup
../../../Resources/Eclipse.icns
-XstartOnFirstThread
-Xbootclasspath/p:plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
--launcher.library
../../../plugins/org.eclipse.equinox.jdtlauncher.carbon.debugmacosx_3.1.0/jdi.jar
-Xms256m
-Xmx512m
-Dorg.eclipse.swt.internal.carbon.smallFonts.101.R34x_v20080731
-vmargs
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
*-Xms128m*
*-Xmx1024m*
*-XX:+UseParallelGC*
-XX:MaxPermSize=256m
-Dosgi.requiredJavaVersion=1.5
-Dorg.eclipse.swt.internal.carbon.noFocusRingsmallFonts

Default settings

No Format
-vmargs
-Xdock:icon=showsplash
org.eclipse.platform
-startup
../../../Resources/Eclipse.icns
-XstartOnFirstThread
-Xbootclasspath/p:plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
--launcher.library
../../../plugins/org.eclipse.jdt.debug_3.equinox.launcher.carbon.macosx_1.0/jdi.jar.101.R34x_v20080731
-vmargs
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Xms40m
-Xmx512m
-Xmx256mXX:MaxPermSize=256m
-DorgDosgi.eclipse.swt.internal.carbon.smallFontsrequiredJavaVersion=1.5
-Dorg.eclipse.swt.internal.carbon.noFocusRingsmallFonts