JDK-6348273 : 1.4.2_10: still native memory leaks when running under IE windows plugin
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 1.4.2_10
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2005-11-10
  • Updated: 2010-08-18
  • Resolved: 2006-05-03
Related Reports
Duplicate :  
Relates :  
Description
Backporting the fix for 

6204669 native memory leaks when running under IE windows plugin

from 5.0 to 1.4.2_10 did little to improve native memory leakage in IE/plugin combination specifically in 1.4.2_10.

Comparing 5.0 to 1.4.2_10 in the same setup the native memory leakage is at least twice as much in case of 1.4.2_10.

The simple test below if run for multiple consequtive days can increase native memory to hundreds of megabytes. The problem is worse for real customer applications.

Change example.html of the ArcTest demo applet to the following:
---

<html>
  <head>
      
<title>Arc Test (1.1)</title>
 
<script language="JavaScript">
<!--

function doLoad()
{
    // the timeout value should be the same as in the "refresh" meta-tag
    setTimeout( "refresh()", 2*1000 );
}

function refresh()
{
    //  This version of the refresh function will cause a new
    //  entry in the visitor's history.  It is provided for
    //  those browsers that only support JavaScript 1.0.
    //
    	document.location.reload();
	setTimeout( "refresh()", 2*1000 );
	
}
//-->
</script>




 </head>
  <body onload="doLoad()">
      <h1>Arc Test (1.1)</h1>
      <hr>
      <applet 

code=ArcTest.class width=400 height=400>
	alt="Your browser understands the <APPLET> tag but isn't running 

the applet, for some reason."
	Your browser is completely ignoring the <APPLET> tag!
      </applet>
      

<hr>
      <a href="ArcTest.java">The source</a>.
  </body>
</html>

Requesting to bring the 1.4.2_10 native memory usage to the level similar to 5.0 u6.