Community
Participate
Working Groups
The new service IServiceRegistryIndexer stores the couple ServiceRegistry/CoreMultiDiagramEditor and ServiceRegistry/ResourceSet in a map. These couples are never removed from the map when the editor is closed and it generates memory leaks in Papyrus.
Reproductible launching Junit tests of org.eclipse.papyrus.uml.diagram.clazz.tests and analysing the runtime with Graal VisualVM
read PapyrusMultiDiagramEditor instead of CoreMultiDiagramEditor in the previous comment After running UML Class Junit tests, with VisualVM before the patch we get : *85 instances of PapyrusMultiDiagramDiagramEditor *15 instances of UMLClassDiagramForMultiEditor After the patch, we get : *1 instance of PapyrusMultiDiagramDiagramEditor *(still 15 instances of UMLClassDiagramForMultiEditor) many others editor elements are still in memory after the tests, we will open others bugs for them
Gerrit change https://git.eclipse.org/r/c/papyrus/org.eclipse.papyrus/+/200478 was merged to [master]. Commit: http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=1911633809366a2c78c3f6522c0851334884e1cf