Re: Eclipse Running Out of Memory

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Wed Jan 17 2007 - 05:17:42 EST

  • Next message: hans-martin.mensc..atos.de: "Re: Problem with WOLips"

    To shed some light on this.
    PermGen space is the space for the classloader. Increase the -
    XX:MaxPermSize=128m to avoid "java.lang.OutOfMemoryError: PermGen
    space".

    Uli
    Am 17.01.2007 um 02:24 schrieb Chuck Hill:

    > I have not had any problem since I made this change. Here's hoping...
    >
    >
    > On Jan 16, 2007, at 5:19 PM, Lachlan Deck wrote:
    >
    >> 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
    >>
    >>
    >>
    >>
    >
    > --
    >
    > Practical WebObjects - for developers who want to increase their
    > overall knowledge of WebObjects or who are trying to solve specific
    > problems.
    > http://www.global-village.net/products/practical_webobjects
    >
    >
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Wed Jan 17 2007 - 05:17:36 EST