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:

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:


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.

This entry was posted in Uncategorized. Bookmark the permalink.

3 Responses to Stupid Eclipse Tricks

  1. Andrew Overholt says:

    *cough* Should be the default! *cough*

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

  3. How about making a script for this ?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s