Eclipse Error: GC Overhead Limit Excceded

If you get the eclipse error “GC Overhead Limit Excceded” it means that the eclipse IDE needs to us more memory in order to function. (especially if you have a 64-bit processor) this is how to fix the error:

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 (search for it on your computer – it should be in the elipse folder):

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

additional resources:

http://docs.oseems.com/application/eclipse/fix-gc-overhead-limit-exceeded

http://www.ithoughts.de/eclipse-out-of-memory-error-and-gc-overhead-limit-exceeded

Advertisements