[jdom-interest] Is there any way to release memory after creating Document

Jason Hunter jhunter at collab.net
Sun Dec 10 12:15:25 PST 2000


If the variable might still be referred to, you can set it to null to
make it elegible for garbage collection.  You can call System.gc() if
you want to request GC right away.

-jh-

Kesav Kumar wrote:
> 
> I am just curios to know is there any way to release memory of Element
> object.  I am creating lots of element objects for short time living insted
> of leaving to garbage collector to release memory is there any way I can
> release the memory with method calls.
> 
> Thanks
> 
> Kesav Kumar
> Software Engineer
> Voquette, Inc.
> 650 356 3740
> mailto:kesavk at voquette.com
> http://www.voquette.com
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com



More information about the jdom-interest mailing list