Re: Eclipse Running Out of Memory

From: Lachlan Deck (lachlan.dec..mail.com)
Date: Tue Jan 16 2007 - 20:19:50 EST

  • Next message: Chuck Hill: "Re: Eclipse Running Out of Memory"

    Hi there,

    On 17/01/2007, at 12:06 PM, Chuck Hill wrote:

    > On Jan 16, 2007, at 4:32 PM, Lachlan Deck wrote:
    >>
    >> Now in Eclipse we have new Gremlins. Some would call them
    >> features ;-)
    >> My favourite one is 'Out of memory... Quit Workspace [Y/N]'
    >
    > I don't recall where I got this from...
    >
    >> Eclipse 3.2.1 produces this error too often:
    >> java.lang.OutOfMemoryError: PermGen space.
    >>
    >> To avoid this, edit the ini file under your Eclipse installation,
    >> emacs ./Eclipse.app/Contents/MacOS/eclipse.ini.
    >>
    >> Here is an example file. The MaxPermSize line has been added and
    >> Xmx increased for good measure.
    >>
    >> -vmargs
    >> -Xdock:icon=../Resources/Eclipse.icns
    >> -XstartOnFirstThread
    >> -Xbootclasspath/p:../../../plugins/
    >> org.eclipse.jdt.debug_3.2.1.r321_v20060731/jdi.jar
    >> -Xms40m
    >> -Xmx512m
    >> -XX:MaxPermSize=128m
    >> -Dorg.eclipse.swt.internal.carbon.smallFonts
    >> -Dorg.eclipse.swt.internal.carbon.noFocusRing

    I'd previously tried increasing mx but to no avail. I've now added
    MaxPermSize and PermSize. We'll see how we go.

    Thanks for the suggestion...

    with regards,

    --
    

    Lachlan Deck



    This archive was generated by hypermail 2.0.0 : Tue Jan 16 2007 - 20:20:00 EST