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.


Unloading class or properties

Posted by Wirianto Djunaidi on May 10, 2000 at 12:10 PM

We have application that have about 3-4 different properties
file. The properties file contains stuff like GUI information
and other custom application information like menu list or
drop down option list.

Basically, when the application started it initialized all
the related component with information from the properties file.
After that the properties object are not needed anymore.
Some of our properties file goes as big as a couple of MB.

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.

Anyway, the question is how can we unload or remove those
properties once they are not needed anymore?


Sponsored Links

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