Stupid Eclipse Tricks
I’ve done this so many times…
Today I downloaded the Ganymede M5 release of Eclipse for RCP/Plug-in Developers and did what I always do:
- Create a link of the eclipse executable, using the handy icon.xpm graphic, and drag the combination onto my desktop for easy launching; and
- Open the eclipse.ini file and make the following changes:
... -Xmx1024m -XX:MaxPermSize=128
Do you see it? I do this about every other time I install Eclipse (which, with all the development leading to up Ganymede is quite often). I forgot the darned “M” on the “MaxPermSize” directive. It should read:
... -Xmx1024m -XX:MaxPermSize=128M
128 megabytes of MaxPermSize is much better than 128 bytes. In the words of the Best Buy robot, “Megabyte me” (that’s what he means by it, right?)
The symptoms are frustrating… You start Eclipse and it appears to be doing something just before it complete disappears.
If you’re curious about why the heck I’d do this, check out Tuning Eclipse for Performance.
Posted February 28th, 2008 by Wayne Beaton in category: Other
You can skip to the end and leave a response. Pinging is currently not allowed.
3 Responses to “Stupid Eclipse Tricks”
Leave a Reply
You must be logged in using your Eclipse Bugzilla account to post a comment.


Andrew Overholt Says:
February 28th, 2008 at 7:04 pm
*cough* Should be the default! *cough*
Gunnar Wagenknecht Says:
February 29th, 2008 at 4:12 am
Instead of a fixed heap size I use
-XX:+UseParallelGC -XX:MaxPermSize=128m.Antoine Toulm Says:
February 29th, 2008 at 5:49 am
How about making a script for this ?