Hi,
I'm running into some serious memory problems when using applets with the
Netscape browser (4.5 and 4.7). The applets are part of dynamic html
pages that are created with servlets.
The problem...
Netscape never calls the applets destroy() method, and appears to be
holding ALL the applet instances in memory, using up system resources
until there are none left!
I added System.out.println(); lines to the init(), start(), stop() and
destroy() methods. the IE (Internet Explorer) browser calls the destroy()
method when a new web page is loaded, but Netscape never calls the
destroy() method (or does any 'pruning').
I tried loading static pages (containing an applet), but the result was
the same. However, if I leave the page (containing the applet) via the
Back button and then load the page again, Netscape destroys the applet in
memory and properly reloads the page.
Does anyone have a solution to this problem (I'm running the browsers in
Win 98)?
Thanks,