Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Memory leak - Graphical shapes
icon5.gif  Memory leak - Graphical shapes [message #540519] Wed, 16 June 2010 08:49 Go to next message
Eclipse UserFriend
Hello guys.

I've been working on an application for several months. It now has its own automatic layout to adjust the position of the nodes in the Diagram.

The problem is that as the time goes by and I manage to create bigger and bigger diagrams, the efficiency of my application diminishes proportionally to the diagram size. Using some profiling tools I've seen that memory management is not being done correctly. For example:

I open a Diagram and my profiling tool says that 2.500 Rectangle objects exist in the diagram. I close the editor and still those 2500 objects remain in memory, so that when I open another diagram, all those rectangles sum up with the new ones. So with the use of the applicaiton, it goes slower. It happens the same with connections, EditParts and so on.

I would like to know if someone has faced this problem or has an idea to where the solution is, because I think this is done by the default GMF implementation and I'm not sure where should I touch in the code to solve it.

Thanks in advance Smile
Re: Memory leak - Graphical shapes [message #540520 is a reply to message #540519] Wed, 16 June 2010 08:51 Go to previous message
Eclipse UserFriend
Hi,

we also faced this kind of issue.
The main issue is with undo/redo stack.

Regards,
Previous Topic:OCL cannot find feature in link target constraint body
Next Topic:automatically add parent node when child added
Goto Forum:
  


Current Time: Mon Nov 03 16:03:32 EST 2025

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

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

Back to the top