Closing a view creates memory leak [message #1469803] |
Tue, 11 November 2014 17:45  |
Eclipse User |
|
|
|
I am running an RCP application with E4 compatibility layer. I am using RCP 4.3 without explicitly using most of the E4 things. My problem appears on windows but I don't think it is OS dependent.
When I close a view using the "x" symbol on the GUI, the dispose method of this view is called.
However a reference to this view stays in the system and prevents freeing the memory that this view claims, which leads to a memory leak in my system.
I have looked up the problem with the Memory Analyzer and it says that the only reference to the ViewPart is held by org.eclipse.ui.internal.e4.compatibility.CompatibilityView.
It is held by the wrapped field.
I am new to memory leak analysis so in case I misinterpret: The memory analyzer at least says that the Compatibility view is the only first element on the path to GC roots.
I am not using a second perspective that keeps the view open.
Does anyone know if this is a problem on my side or within Eclipse and how to overcome it?
|
|
|
|
Powered by
FUDForum. Page generated in 0.12510 seconds