IcedTea-web: Memory leak - java side

Efrat Lefeber ELefeber at
Wed Jan 15 07:15:39 PST 2014

I am using icedtea-6-plugin with firefox on linux debian (wheezy).
I noticed that after opening applets in firefox tabs, and closing them, some objects in java plugin are not released, which causes the heap size of the jvm to keep increasing.
For example, I see that the PluginAppletViewer object is not released, also the applet object itself and each classloader of each applet.
If I open and close a webpage containing a java applet, the jvm eventually will get out of memory exception.
Looking at the plugin code, I see that when closing the applet window, the function PluginAppletViewer.destroyApplet is called, but in this flow, not all objects are release.

Is there a way to free the memory without taking down the jvm to prevent the increase in memory?


This transmission may contain information that is privileged, confidential, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is strictly prohibited. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format.
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the distro-pkg-dev mailing list