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.

3 Responses to “Eclipse And The Dreaded PermGen Space”

  1. Andy
    August 8th, 2007 | 3:15 am

    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

  2. August 8th, 2007 | 9:45 am

    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.

  3. October 22nd, 2007 | 5:29 pm

    [...] You can read more here [...]

Leave a reply

Warning: comments containing links will be eaten by our spam protection.