[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2t] Re: [XPAND] clear Xtend cached objects

Knut Wannheden schrieb:
Hi Ekke,

ekke wrote:
if my whole workflow is running, then I need much memory -
in the different parts of my workflow I'm using Xtends 'cached', which speeds things up


now the question is:
can I explicitely clear the Xtend caches ?
at some nodes of my workflow-tree this would be a good idea and help to free memory



The cache is only valid (and thus kept) within the same invocation of Xpand or Xtend. So the cache should automatically be made available for garbage collection inbetween the different parts of your workflow.


Hope that helps,

--knut
thanks, knut,

good to know that the cache is only bound to the active (Xpand or Xtend) workflow component,
so only the models stored in slots and workflow properties are available thru the whole workflow.


ekke