Community
Participate
Working Groups
Steps to reproduce : 1- launch the SWTBot sequence tests 2- wait for several hundreds of tests to pass 3- dump a snapshot of the heap memory (using yourkit or another profiling tool) When analyzing the snapshot : we have hundreds of instances of org.eclipse.sirius.diagram.ui.tools.internal.actions.delete.DeleteFromDiagramAction (341 in my case) each of those retaining a SequenceDiagramEditPart through the "selection" field which himself retains the editingdomain which retains the resourceSet. In my case 208Mo of heap is being retained by those actions.
New Gerrit change created: https://git.eclipse.org/r/46795
(In reply to Eclipse Genie from comment #1) > New Gerrit change created: https://git.eclipse.org/r/46795 By launching the tests with yourkit and this patchset and after the execution of about 60 tests, yourkit reports only 1 instance of DeleteFromDiagramAction and the heap usage looks fairly constant.
Correction proposed by Cedric has been merged.
Gerrit change https://git.eclipse.org/r/46795 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=9b1150aee5c2a80392c706d74cba580a63cb0308
Validated on Sirius 3.0.0 RC1 (with Yourkit)
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.