Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Java
Expertise: Advanced
Jun 30, 2009

Solving Eclipse (Ganymede) and PermGem Out-of-Memory Errors

First, launch Eclipse with increased memory options, which you can do as follows (increase these values as needed, but don't exceed your available memory):

eclipse.exe -vmargs -Xmx512M -XX:MaxPermSize=256M

Sometimes, the preceding solution has a limited effect, and the errors don't go away. In that case, try starting Eclipse from ECLIPSE_HOME by double-clicking on the eclipsec.exe application rather than the main executable.

Leonard Anghel
Thanks for your registration, follow us on our social networks to keep up-to-date