|
Re: Disposing of Resources and ResourceSet [message #483361 is a reply to message #483311] |
Tue, 01 September 2009 10:52 |
|
Alex,
Garbage collection should suffice if you wnt to get rid of *all*
resources and heir content.
Cheers
/Eike
----
http://thegordian.blogspot.com
Alex schrieb:
> Suppose one is done with processing of Resources in the ResourceSet;
> what has to be saved has been saved etc. Resources, ResourseSet and
> model object instances are not needed anymore. Is there / could there
> be any reason to do Resource.unload()? Resource.getContents().clean()?
> Or could these just be left to garbage collection?
>
> This is mostly about avoiding extra processing done by unload() on
> large models, but any insight relevant to disposing of
> Resources/ResourceSets instances that are no longer needed is
> appreciated ...
>
> Thank you,
> Alex
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
Powered by
FUDForum. Page generated in 0.03648 seconds