Eclipse hints, tips, and random musings

Wayne Beaton’s blog about Eclipse.

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:

  1. Create a link of the eclipse executable, using the handy icon.xpm graphic, and drag the combination onto my desktop for easy launching; and
  2. 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”


  1. Andrew Overholt Says:

    *cough* Should be the default! *cough*


  2. Gunnar Wagenknecht Says:

    Instead of a fixed heap size I use -XX:+UseParallelGC -XX:MaxPermSize=128m.


  3. Antoine Toulm Says:

    How about making a script for this ?

Leave a Reply

You must be logged in using your Eclipse Bugzilla account to post a comment.

Recent Posts

Archives

Categories

Meta