Re: Eclipse Running Out of Memory

From: Chuck Hill (chil..lobal-village.net)
Date: Tue Jan 16 2007 - 20:24:45 EST

  • Next message: Kieran Kelleher: "Re: Problem with WOLips"

    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 : Tue Jan 16 2007 - 20:24:56 EST