Eclipse Running Out of Memory

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

  • Next message: Lachlan Deck: "Re: Eclipse Running Out of Memory"

    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

    -- 
    

    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:06:29 EST