Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Possible memory leak in Eclipse 4.3
Possible memory leak in Eclipse 4.3 [message #1053068] Thu, 02 May 2013 10:28 Go to next message
Roland Tepp is currently offline Roland TeppFriend
Messages: 36
Registered: July 2009
Member
Hey,

For some time now as I've played around with Eclipse 3.4 latest release,
I've noticed that leaving Eclipse open overnight, will cause it to run
out of memory and hang until I forcebly kill the process.

Today I downloaded the Eclipse MAT and took a heap dump off the hung
Eclipse instance.

It turns out that over 80% of the heap is allocated to a single instance
of org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.

Here's the summary from a leakhunter:

One instance of "org.eclipse.emf.ecore.resource.impl.ResourceSetImpl"
loaded by "org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader @
0xc0eb38c8" occupies 805 647 760 (81,47%) bytes. The memory is
accumulated in one instance of
"org.eclipse.emf.ecore.resource.Resource[]" loaded by
"org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader @ 0xc0eb38c8".

I have not made any serious analysis on the heap dump, but on 800MB out
of 900MB for a single object seems kind of excessive...
Re: Possible memory leak in Eclipse 4.3 [message #1053073 is a reply to message #1053068] Thu, 02 May 2013 10:32 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
This is already fixed in master since some time.

Tom

On 02.05.13 12:28, Roland Tepp wrote:
> Hey,
>
> For some time now as I've played around with Eclipse 3.4 latest release,
> I've noticed that leaving Eclipse open overnight, will cause it to run
> out of memory and hang until I forcebly kill the process.
>
> Today I downloaded the Eclipse MAT and took a heap dump off the hung
> Eclipse instance.
>
> It turns out that over 80% of the heap is allocated to a single instance
> of org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.
>
> Here's the summary from a leakhunter:
>
> One instance of "org.eclipse.emf.ecore.resource.impl.ResourceSetImpl"
> loaded by "org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader @
> 0xc0eb38c8" occupies 805 647 760 (81,47%) bytes. The memory is
> accumulated in one instance of
> "org.eclipse.emf.ecore.resource.Resource[]" loaded by
> "org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader @ 0xc0eb38c8".
>
> I have not made any serious analysis on the heap dump, but on 800MB out
> of 900MB for a single object seems kind of excessive...
Previous Topic:Welcome or intro in eclipse 4
Next Topic:Is it possible to use JavaFX in a separate Part?
Goto Forum:
  


Current Time: Wed Apr 24 18:56:09 GMT 2024

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

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

Back to the top