java.util.Properties - how to purge memory on demand
<p>I am running a swing application in which I am getting all the labels, errors, etc. from  property file. I have 2 huge global property files for error messages and labels. Huge means - 150kb. </p>

<p>Also there are smaller property files and xml files which are cached. They are not big but they might all add up in the end culminating to an OutOfMemory when running on a system with less than 1 GB RAM.</p>

<p>I was wondering how do you dispose of the smaller Properties object once you have used it. When you set the object to null, and once the GC runs it will go away. Is there another way where we are guaranteed that the cached properties are purged when needed by an API call?</p>
