Community
Participate
Working Groups
If you open or create a Papyrus model, and display the property page for the root model element, and then close the model, the memory occupied by the model won't be released. Using a memory analyzer (such as jvisualvm or Eclipse MAT), you can see that the model is indirectly held by a StringEditor control, which itself is held by the Eclipse/SWT Display. It looks like the property-related controls/observers are not always released (because the DisplayEngine's dispose method itself is probably not always called). More specifically, it looks like the control of a property page are released/disposed when the display engine refreshes the views/sections (old controls are then disposed, and new controls are created). Therefore, the last displayed controls are probably never disposed, causing the leak on exit.
Some memory leaks have been fixed : r5466, 5470 (Branch 0.8.X) Merged to the trunk in r5467, r5473 The model seems to be still present in memory, but the property view doesn't seem to be directly responsible for that anymore. Maybe some observables which are not correctly disposed.
There hasn't been any new memory leak related to the property view (At least none were reported) ; I'm closing the task.