Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Eclipse 4 RCP application memory leakage
Eclipse 4 RCP application memory leakage [message #1320064] Mon, 28 April 2014 15:15 Go to next message
Alexander Klatt is currently offline Alexander Klatt
Messages: 26
Registered: April 2014
Junior Member
Hi,

I've got an application, which seems to run fine, but the memory usage is not acceptable. The startup size is ~100MB. This stays the same, if I do nothing. But
if I move the Window around for a couple of seconds, it rises to around 200MB. Is there a common reason for this behavior?

Thanks for any advice!
Re: Eclipse 4 RCP application memory leakage [message #1320077 is a reply to message #1320064] Mon, 28 April 2014 15:20 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5344
Registered: July 2009
Senior Member
Make a heap-dump and compare the heap before and after the moving.

Tom

On 28.04.14 17:15, Private Name wrote:
> Hi,
>
> I've got an application, which seems to run fine, but the memory usage
> is not acceptable. The startup size is ~100MB. This stays the same, if I
> do nothing. But
> if I move the Window around for a couple of seconds, it rises to around
> 200MB. Is there a common reason for this behavior?
>
> Thanks for any advice!
Re: Eclipse 4 RCP application memory leakage [message #1320106 is a reply to message #1320077] Mon, 28 April 2014 15:42 Go to previous message
Alexander Klatt is currently offline Alexander Klatt
Messages: 26
Registered: April 2014
Junior Member
Okay, I used VisualVM to monitor the objects. When I sample the application I get a rising size for byte[] and int[].
At some point, it appears, garbage collection occurs and the used heap goes back to minimum. Before this points though
heapsize was increased, so the memory usage stays high.

How would I go further from here? byte and int could be anything, right?
Previous Topic:e4 View on compatibility layer in Luna
Next Topic:EMenuService is null
Goto Forum:
  


Current Time: Tue Sep 30 22:05:10 GMT 2014

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

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