Possible memory leak in Eclipse 4.3 [message #1053068] |
Thu, 02 May 2013 06:28  |
Eclipse User |
|
|
|
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 06:32  |
Eclipse User |
|
|
|
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...
|
|
|
Powered by
FUDForum. Page generated in 0.03091 seconds