Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space [message #98950] Sun, 30 September 2007 14:00 Go to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

Hi,

Since I freshly installed the Europa Fall Maintenance release of eclipse
I frequently get the above exception or eclipse simply disappears
without premonition. It's so annoying. After such a crash I always have
to delete all projects from the workspace and import them again. Then I
need to distribute 50 projects into my 6 working sets again.

I have a 1 gig box and have --launcher.XXMaxPermSize 256M in eclipse.ini.
Shouldn't that be enough?

I have only the rcp epp + emf sdk installed.
Please see also my posting to
http://www.eclipse.org/newsportal/article.php?id=21548&g roup=eclipse.tools.jdt#21548

Cheers
/Eike
Re: java.lang.OutOfMemoryError: PermGen space [message #98980 is a reply to message #98950] Sun, 30 September 2007 20:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alex_blewitt.yahoo.com

The --launcher and 256m need to be on separate lines.

Alex.
Re: java.lang.OutOfMemoryError: PermGen space [message #99025 is a reply to message #98980] Mon, 01 October 2007 06:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

Alex Blewitt schrieb:
> The --launcher and 256m need to be on separate lines.
>
Yes they are. Eclipse.ini is as it came:

-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
Re: java.lang.OutOfMemoryError: PermGen space [message #99040 is a reply to message #99025] Mon, 01 October 2007 08:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alex_blewitt.yahoo.com

All I can think is that there is some badly-written plugin that's leaking that you have installed. Unfortunately, it's no easy feat to find out which one.

Alex
Re: java.lang.OutOfMemoryError: PermGen space [message #99056 is a reply to message #99040] Mon, 01 October 2007 11:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

Alex Blewitt schrieb:
> All I can think is that there is some badly-written plugin that's leaking that you have installed. Unfortunately, it's no easy feat to find out which one.
>
I have only the rcp epp + emf sdk installed.

Cheers
/Eike
Re: java.lang.OutOfMemoryError: PermGen space [message #99481 is a reply to message #99056] Tue, 09 October 2007 16:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dserodio.gmail.com

Eike Stepper wrote:
> Alex Blewitt schrieb:
>> All I can think is that there is some badly-written plugin that's
>> leaking that you have installed. Unfortunately, it's no easy feat to
>> find out which one.
>>
> I have only the rcp epp + emf sdk installed.

If you're using 3.3.1, maybe it's
https://bugs.eclipse.org/bugs/show_bug.cgi?id=203325

Unfortunately, I fixed my eclipse.ini and still keep getting PermGen
errors, which I'm unable to troubleshoot because I can't enable JMX,
jvmstat or similar tool :-(

HTH,
Daniel Serodio
Re: java.lang.OutOfMemoryError: PermGen space [message #99494 is a reply to message #99481] Tue, 09 October 2007 22:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

Daniel,

Thank you, I was already aware of that Bugzilla.
I decided to stay with 3.3.0 for a while because I first wanted to hear
that the suggested fix really works so that I don't have to go
upgrade-downgrade cycles again ;-)
Good that I have waited!

Cheers
/Eike


Daniel Serodio schrieb:
> Eike Stepper wrote:
>
>> Alex Blewitt schrieb:
>>
>>> All I can think is that there is some badly-written plugin that's
>>> leaking that you have installed. Unfortunately, it's no easy feat to
>>> find out which one.
>>>
>>>
>> I have only the rcp epp + emf sdk installed.
>>
>
> If you're using 3.3.1, maybe it's
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=203325
>
> Unfortunately, I fixed my eclipse.ini and still keep getting PermGen
> errors, which I'm unable to troubleshoot because I can't enable JMX,
> jvmstat or similar tool :-(
>
> HTH,
> Daniel Serodio
>
Re: java.lang.OutOfMemoryError: PermGen space [message #100032 is a reply to message #99494] Thu, 18 October 2007 18:14 Go to previous message
Eclipse UserFriend
Originally posted by: dserodio.gmail.com

Well this time, the fault was on me :-) I had mispelled the MaxPermGen
parameter (because the "--launcher" syntax is different from the
"-vmargs" one), and Eclipse didn't warn me because of bug 205990.
After I fixed the MaxPermGen parameter, it works. Unfortunately, I still
can't enable JMX or jvmstat.

HTH,
Daniel Serodio

Eike Stepper wrote:
> Daniel,
>
> Thank you, I was already aware of that Bugzilla.
> I decided to stay with 3.3.0 for a while because I first wanted to hear
> that the suggested fix really works so that I don't have to go
> upgrade-downgrade cycles again ;-)
> Good that I have waited!
>
> Cheers
> /Eike
>
>
> Daniel Serodio schrieb:
>> Eike Stepper wrote:
>>
>>> Alex Blewitt schrieb:
>>>
>>>> All I can think is that there is some badly-written plugin that's
>>>> leaking that you have installed. Unfortunately, it's no easy feat to
>>>> find out which one.
>>>>
>>> I have only the rcp epp + emf sdk installed.
>>>
>>
>> If you're using 3.3.1, maybe it's
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=203325
>>
>> Unfortunately, I fixed my eclipse.ini and still keep getting PermGen
>> errors, which I'm unable to troubleshoot because I can't enable JMX,
>> jvmstat or similar tool :-(
>>
>> HTH,
>> Daniel Serodio
>>
Previous Topic:P1 blocker bug with loading of OSGi Extensions
Next Topic:What's contained in "~/.eclipse" ?
Goto Forum:
  


Current Time: Thu Apr 25 16:30:32 GMT 2024

Powered by FUDForum. Page generated in 0.03005 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top