[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmt.amw] Re: heap usage

Hi Ivano,

You can open an entry in the Bugzilla of AMW that reports this issue.

You can even propose a patch if you find the solution ;) .

Regards,

Marcos.


Ivano wrote:
Hi, I was debugging my plug-in that extends org.eclipse.weaver.extension and I noticed that the Resources of the woven metamodels remain in the heap even if I close the tab of the weaving model.
In other words: if I open and close the weaving model 10 times, I have 20 metamodels in my heap, causing an outOfMemoryException.


I debugged also a simple weaving model with the default wovenPanels and they have the same behavior.
I tried to manually call the garbage collector on the dispose event of the woven model panels, and to set to null the Resources of the metamodels but I got the same result...


Is it a bug of AMW?

Regards, Ivano