The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
May 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Garbage Collector

Posted by Heli on June 08, 2000 at 6:20 AM

> So we would like to unlod or have the properties garbage collected
> once we are done with them. Setting them to null doesn't seems
> to do the trick...we are using JDK 1.1.8 by the way.

Did you try to force executing the garbage collection by calling System.gc() (Runtime.getRuntime().gc)?


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us