Hi All, I have noticed then when working with diagram files, resources don't seemed to be released.
I'm developing plug-ins to work with Topcased in the Eclipse EMF framework. One component of the plug ins is custom report generation, which currently requires extracting diagrams to a custom file locations. I accomplish this by opening each model file and grabbing a list of all diagrams. However I found that to used Topcased diagram extraction functionality I have to open each desired diagram in an Editor and then call the extraction tool (Based off of the methods for ExportAllDiagrams). I close the editors once I'm done. The problem is that the Memory being used by Eclipse increases rapidly (100M for very simple 3-Domain model 500M for a slightly more complex model) and doesn't get released when all the editors are closed. When I run extract all diagrams on all the models I have similar memory issues. I'm looking to see if this is know memory problem with Topcased UML Editors and if there is any solution. I addition I have found if I simply open and close one of these simple umldi files 10 times, eclipse's memory usage will go up 100-200 MB (10-20 each time I open the file). Also I profiled the a running instance of eclipse and it seems like the DI resource is being held onto by a ResourceChangeListener even after the model is closed. Thoughts or Advice? Thanks, - Bart _________________________________________________ Pathfinder Solutions www.pathfindermda.com Generate Results. 888-662-PATH Bart A. Shappee voice:888-662-7284 x116 [email protected] _________________________________________________ _______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
