I have been using JProbe to clean up memory in an
applet. I was
able to eliminate all references that other objects had to the
applet from custom classes. After reloading the applet (stop,
destroy, init and start get run) the previous instance of the main applet class is still in memory along with the new instance. I have even gone as far as commenting out the guts of the init, start, stop and destroy so that the applet does not
create any new objects and I am still left with the previous instance of the applet object.
The biggest culprit (memory) is an int[] that takes up about 1MB of memory. Are there any other cleanup calls that I should make on the JApplet class to eliminate this previous instances of my
applet class that extend JApplet? I was expecting my memory to all be returned once the applet was destroyed. Thanks!