Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Memory leak?
Memory leak? [message #303833] Wed, 24 May 2006 06:05 Go to next message
Eclipse UserFriend
Hi,

I don't know what is happening to my Eclipse installation, but very
quickly uses up all memory.

When Eclipse starts up and opens my workspace it uses about 145 Mb of
memory.
I now this thanks to the Windows Task manager.

Then I begin editing files and so on and when memory reaches about 230 Mb,
Eclipse complains that no more memory available and asks me to quit
Eclipse.

The following is logged in the error log:

java.lang.OutOfMemoryError: PermGen space

My questions are:

* If I start Eclipse with the -Xmx500M flag (eclipse.exe -vmargs
-Xmx500M), why the limit is about 230Mb
* How can I know which plugin is eating my memory?

Thanks in advance for any hint.
Re: Memory leak? [message #303834 is a reply to message #303833] Wed, 24 May 2006 06:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.bettsockentraeger.de

You are not running out of Heap you are running out of PermGen Space
(approx 65Mb on Suns vm)
I'm guessing you are using WTP or BIRT or some other very large Plugin.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=129490 for details on
the problems.
And don't forget to vote on the bug to get it fixed fast.

As a workaround you have to boost your permgensize. Use the
-XX:MaxPermSize=<value> switch to raise Permsize. As mentioned above on
sun JRE1.5 it defaults to 65Mb.

Regards
Stefan

David Pérez wrote:
> Hi,
>
> I don't know what is happening to my Eclipse installation, but very
> quickly uses up all memory.
>
> When Eclipse starts up and opens my workspace it uses about 145 Mb of
> memory.
> I now this thanks to the Windows Task manager.
>
> Then I begin editing files and so on and when memory reaches about 230
> Mb, Eclipse complains that no more memory available and asks me to quit
> Eclipse.
>
> The following is logged in the error log:
>
> java.lang.OutOfMemoryError: PermGen space
>
> My questions are:
>
> * If I start Eclipse with the -Xmx500M flag (eclipse.exe -vmargs
> -Xmx500M), why the limit is about 230Mb
> * How can I know which plugin is eating my memory?
>
> Thanks in advance for any hint.
>
Re: Memory leak? [message #303862 is a reply to message #303834] Thu, 25 May 2006 02:43 Go to previous message
Eclipse UserFriend
Thanks Stefan.

The problem seems to have disappeared since I'm using JRockit JRE 1.5.0_04
instead of Sun's 1.5.0_05.

Nevertheless, I will vote for the bug...
Previous Topic:Exporting Deployable plugins
Next Topic:Any plans to move the SSE & SSE-XML to platform?
Goto Forum:
  


Current Time: Fri Jul 18 15:38:28 EDT 2025

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

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

Back to the top