IcedTea-web: Memory leak - java side

Deepak Bhole dbhole at
Wed Jan 15 13:06:39 PST 2014

* Efrat Lefeber <ELefeber at> [2014-01-15 10:27]:
> 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?

I know some objects are kept around to make subsequent startups faster.
But PluginAppletViewer does not sound like something that belongs on
that list.

Adam (Domurad) had proposed a patch to clean memory as much as possible
but I think at one point it had to be reverted.

Jiri, Andrew, do you know the status of this?


> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
> 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.

More information about the distro-pkg-dev mailing list