July 30, 2007
Eclipse And The Dreaded PermGen Space
Just a quick note for Eclipse developers: The dreaded PermGen space error might be avoided by starting the IDE with the option -vmargs -XX:PermSize=64M -XX:MaxPermSize=128M - under Linux. For Windows, the eclipse.ini settings apply. See the Eclipse Wiki for more information.
Filed by Magnus at 10:47 am under
what if that doesn’t help? And the log only has
!ENTRY org.eclipse.ui 4 0 2007-08-07 21:11:53.724
!MESSAGE PermGen space
!ENTRY system.bundle 4 0 2007-08-07 21:12:08.055
!MESSAGE FrameworkEvent.ERROR
!STACK 0
java.lang.OutOfMemoryError: PermGen space
That’s the same log message for me. As I have 2 Gigs of RAM available in my development computer, I doubled the PermGen space size:
/usr/local/lib/eclipse/eclipse -vmargs -XX:PermSize=128M -XX:MaxPermSize=256M. Frank Kievit, who is with Sun, has some more information on the error. As far as I can see, no-one really knows who is responsible in the end - Sun’s VM or the application developers.[...] You can read more here [...]