Thursday, November 15, 2007

Why Eclipse Europa 3.3 crashes

If you're using the latest release of famous IDE you've surely experienced a lot of problems: every 10 minutes it crashes! Time depends by the projects opened and plug-ins installed.

Today my Eclipse crashed at least 15 times. So it was come the time to fix the problem. After some research I discovered the problem. For a well known bug you had to change the way you launch the IDE.

Change your eclipse.ini in the Eclipse's installation directory to:

-showsplash org.eclipse.platform
-vmargs

-XX:MaxPermSize=128m

-Xms40m
-Xmx256m

If you've a lot of memory try my configuration:

-showsplash org.eclipse.platform
-vmargs

-XX:MaxPermSize=128m

-Xms256m
-Xmx1024m

Your productivity will thanks ;-)

2 comments:

Anonymous said...

Hi,

My eclipse europa crashes whenever I try to add a jar to the classpath. I tried the settings you mentioned, it works sometimes but eclipse still crashes. Do I have to increase the memory?

Cheers,
RK

http://www.FreXper.com & http://thefirstexperiences.blogspot.com/
FREE website to Blog, Share and Discuss interesting and funny First Experiences from everyday life


http://www.yourMitra.com & http://yourmitra.wordpress.com
FREE Home Rental and Real Estate Classifieds

Luca Garulli said...

Hi,
I've 2GB of RAM, but some collegues own 1GB only. How much RAM do you have?

What you mean for "add a jar to the classpath"?

Lvc@