GMF Diagram and Memory [message #153562] |
Fri, 05 October 2007 06:52 |
Eclipse User |
|
|
|
Originally posted by: swanbrook66.gmail.com
Hi,
I have a relatively large GMF application which I recently profiled
using JProfiler. One thing that struck me immediatley is that all the
objects created when I open a diagram (edit parts, edit policies, etc,
etc) are never garbage collected. These objects hang around in memory
for the time the application is open. If I reopen the diagram, they all
get created again so this is obviously a huge memory leak.
I was wondering if this is a general problem in GMF for people or would
it be something that I am doing myself by accident. I have checked the
dispose() method in my GRaphicalEditor class and it does call
super.dispose() before doing some custom tidy-up stuff.
Sorry if this has been talked about before but I am fairly new to GMF
and couldn't find and references to GMF and memory when I searched these
groups.
Any info much appreciated.
Thanks.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04523 seconds