Re: Out of memory exceptions

From: Mike Schrag (mschra..dimension.com)
Date: Wed Nov 08 2006 - 09:41:45 EST

  • Next message: Brendan Duddridge: "Re: Related view not working"

    Yes, I would really recommend this for everyone using Eclipse now.
    This is rumored to be an Eclipse 3.2 bug, actually, that Eclipse
    loads so many classes that permgen space is near full when it
    starts. After adding additional plugins, some of which do dynamic
    class loading (Entity Modeler, for instance), it puts it over the
    top. Permgen space is the area in VM memory where class files, etc
    load in -- it's separate from your heap. There is actually a comment
    in the readme for eclipse that talks about adding the -
    XX:MaxPermSize=xxx as well. I can track down the bug in the Eclipse
    bugzilla if you're interested in more info. I have it around here
    somewhere.

    On Nov 8, 2006, at 8:15 AM, Bill Michell wrote:

    > Those settings may not help with the Permanent Generation.
    >
    > I explicitly use -XX:MaxPermSize=128m on sun java 5.
    >
    >
    > --
    > Bill Michell
    > Development Team Leader, Broadcast Platforms, BBC News Interactive.
    >
    >> -----Original Message-----
    >> From: Ulrich Köster [mailto:ulric..bjectstyle.org]
    >> Sent: 08 November 2006 13:04
    >> To: woproject-de..bjectstyle.org
    >> Subject: Re: Out of memory exceptions
    >>
    >> increase the xms and xmx size.
    >>
    >> Uli
    >> Am 08.11.2006 um 14:01 schrieb Pierre Frisch:
    >>
    >>> Am I the only seeing those exceptions?
    >>>
    >>> I have a plain vanilla eclipse installation with WOLips (3484),
    >>> subclispe (1.1.8) and only the required extensions. I reinstalled
    >>> it recently because I had OutOfMemeory exception in the maven code
    >>> but now this occurs regardless.
    >>>
    >>> Any idea?
    >>>
    >>> Pierre
    >>>
    >>> !ENTRY org.eclipse.ui 4 4 2006-11-08 04:48:34.340
    >>> !MESSAGE Unhandled event loop exception
    >>>
    >>> !ENTRY org.eclipse.ui 4 0 2006-11-08 04:48:34.351
    >>> !MESSAGE PermGen space
    >>> !STACK 0
    >>> java.lang.OutOfMemoryError: PermGen space
    >>>
    >
    >
    > http://www.bbc.co.uk/
    > This e-mail (and any attachments) is confidential and may contain
    > personal views which are not the views of the BBC unless
    > specifically stated.
    > If you have received it in error, please delete it from your system.
    > Do not use, copy or disclose the information in any way nor act in
    > reliance on it and notify the sender immediately.
    > Please note that the BBC monitors e-mails sent or received.
    > Further communication will signify your consent to this.
    >



    This archive was generated by hypermail 2.0.0 : Wed Nov 08 2006 - 09:41:49 EST