Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Possible Memory Leak in NatCombo(Shell listener left after table is disposed)
Possible Memory Leak in NatCombo [message #1497432] Wed, 03 December 2014 20:32 Go to next message
Arye Shemesh is currently offline Arye ShemeshFriend
Messages: 37
Registered: November 2012
Member
Hi,

First, thanks for this project, and for the time you invest in maintaining it - it's great.

I'm using version 1.1.1.
I think there's a possible memory leak from the NatCombo class.

In Line 284 a listener is added to the shell:

		getShell().addListener(SWT.Move, new Listener() {
			@Override
			public void handleEvent(Event event) {
				calculateBounds();
			}
		});


This listener is not removed when the nattable is disposed, and using the MAT plugins I found that it references up to the config registry with everything in it (see attached screenshot, it goes up to my model objects, which are memory consuming).

index.php/fa/20133/0/

Is this a bug? Or is there a reason I'm not aware of for this behavior?

Thanks,
Arye




[Updated on: Wed, 03 December 2014 21:18]

Report message to a moderator

Re: Possible Memory Leak in NatCombo [message #1497505 is a reply to message #1497432] Wed, 03 December 2014 21:39 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
Please open a ticket
Re: Possible Memory Leak in NatCombo [message #1498462 is a reply to message #1497505] Thu, 04 December 2014 12:22 Go to previous message
Arye Shemesh is currently offline Arye ShemeshFriend
Messages: 37
Registered: November 2012
Member
Bug link: https://bugs.eclipse.org/bugs/show_bug.cgi?id=454111
Previous Topic:Issue with scroll bar for NatTable freeze command
Next Topic:Column resize redraw ignored (v 1.1.1)
Goto Forum:
  


Current Time: Fri Apr 19 09:19:11 GMT 2024

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

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

Back to the top