Diagnosing out of memory errors
I'm working on a project that uses a number of applets on different HTML pages. I'm seeing "OutOfMemroy" errors after long periods of use on a Linux Mozilla Firefox client using Java 1.6.0. I have attempted to analyze the jmap heap dump, and it seems like many character arrays, byte arrays, and integer arrays are being kept in memory even after garbage collection has taken place (on the order of 50 MB of such data). This amount continues to grow as the user navigates from page to page. I've tried increasing the heap size to 512 MB in the hopes that this will "peak out", but it just keeps growing. Has anyone else experienced this kind of problem with pages containing applets? Does anyone know of any tools that can get more helpful information than the heap dump? I'm struggling to understand why these arrays are kept around even after the applets are destroyed. Thanks in advance for any help.
--Nathan

