You are hereEclipse 64-bit Complains about Memory on an 8GB system?

Eclipse 64-bit Complains about Memory on an 8GB system?


By steve - Posted on 16 March 2011

I was getting an error in Eclipse (Helios) when starting up complaining about "GC overhead limit exceeded". GC is the garbage collector, but I hadn't changed any limits. I was using more and larger projects...

So the full error was java.lang.OutOfMemoryError: GC overhead limit exceeded

It turns out that for 64bit Java, Eclipse needs more memory than with a 32bit Java. To fix this, have at least the following memory sizes defined in your eclipse.ini:

-Xms512m
-Xmx1024m
-XX:PermSize=64m
-XX:MaxPermSize=128m

Did this help you? You can help me!


Did you find this information helpful? You can help me back by linking to this page, purchasing from my sponsors, or posting a comment!


+One me on Google:


Follow me on twitter: http://twitter.com/mojocode







Comments



Affiliation Badges