-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
None
-
1.4.0, 1.4.2
-
generic, x86
-
generic, windows_2000
Name: gm110360 Date: 03/10/2004
FULL PRODUCT VERSION :
Java(TM) Plug-in: Version 1.4.2_03
Using JRE version 1.4.2_03 Java HotSpot(TM) Client VM
ADDITIONAL OS VERSION INFORMATION :
Windows 2000 Pro 5.00.2195 Service Pak 4
A DESCRIPTION OF THE PROBLEM :
In IE 6.0.2600.0000 using Java(TM) Plug-in: Version 1.4.2_03 do the following:
- load the Java2d example applet (substituted for our applet) for example load C:\j2sdk1.4.2_03\demo\jfc\Java2D\Java2Demo.html
-open java console type 'm' to display memory used
-reload the page (and therefore the applet)
-type 'm' in the console
-notice the extra memory used
-reload again
-type 'm' (or if you want type 'g' to garbage collect)
-notice extra memory consumed
the following is my console output
Java(TM) Plug-in: Version 1.4.2_03
Using JRE version 1.4.2_03 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\amcinnis
Proxy Configuration: No proxy
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
Memory: 8,896K Free: 3,719K (41%) ... completed.
Memory: 17,628K Free: 7,757K (44%) ... completed.
Memory: 28,168K Free: 12,266K (43%) ... completed.
Memory: 36,884K Free: 16,296K (44%) ... completed.
Garbage collect ... completed.
Memory: 36,884K Free: 15,872K (43%) ... completed.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. load the Java2d example applet (substituted for our applet) for example load C:\j2sdk1.4.2_03\demo\jfc\Java2D\Java2Demo.html
2. open java console type 'm' to display memory used
3. reload the page (and therefore the applet)
4. type 'm' in the console
-notice the extra memory used
5. reload again
6. type 'm' (or if you want type 'g' to garbage collect)
-notice extra memory consumed
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Minimal if no increase in memory used when reloading an applet.
ACTUAL -
Memory is consumed without bound as the page containing the applet is reloaded. Note that this only happens when using the 1.4.2_02 or greater plugin in IE 6, previous plugins had no such problem and the offending plugin does not exhibit the problem in Netscape.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
None in the console
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
The Sun Java2d example shipped with the 1.4.2_03 plugin for example
C:\j2sdk1.4.2_03\demo\jfc\Java2D\Java2Demo.html
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
None that I could come up with.
(Incident Review ID: 231494)
======================================================================
FULL PRODUCT VERSION :
Java(TM) Plug-in: Version 1.4.2_03
Using JRE version 1.4.2_03 Java HotSpot(TM) Client VM
ADDITIONAL OS VERSION INFORMATION :
Windows 2000 Pro 5.00.2195 Service Pak 4
A DESCRIPTION OF THE PROBLEM :
In IE 6.0.2600.0000 using Java(TM) Plug-in: Version 1.4.2_03 do the following:
- load the Java2d example applet (substituted for our applet) for example load C:\j2sdk1.4.2_03\demo\jfc\Java2D\Java2Demo.html
-open java console type 'm' to display memory used
-reload the page (and therefore the applet)
-type 'm' in the console
-notice the extra memory used
-reload again
-type 'm' (or if you want type 'g' to garbage collect)
-notice extra memory consumed
the following is my console output
Java(TM) Plug-in: Version 1.4.2_03
Using JRE version 1.4.2_03 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\amcinnis
Proxy Configuration: No proxy
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
Memory: 8,896K Free: 3,719K (41%) ... completed.
Memory: 17,628K Free: 7,757K (44%) ... completed.
Memory: 28,168K Free: 12,266K (43%) ... completed.
Memory: 36,884K Free: 16,296K (44%) ... completed.
Garbage collect ... completed.
Memory: 36,884K Free: 15,872K (43%) ... completed.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. load the Java2d example applet (substituted for our applet) for example load C:\j2sdk1.4.2_03\demo\jfc\Java2D\Java2Demo.html
2. open java console type 'm' to display memory used
3. reload the page (and therefore the applet)
4. type 'm' in the console
-notice the extra memory used
5. reload again
6. type 'm' (or if you want type 'g' to garbage collect)
-notice extra memory consumed
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Minimal if no increase in memory used when reloading an applet.
ACTUAL -
Memory is consumed without bound as the page containing the applet is reloaded. Note that this only happens when using the 1.4.2_02 or greater plugin in IE 6, previous plugins had no such problem and the offending plugin does not exhibit the problem in Netscape.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
None in the console
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
The Sun Java2d example shipped with the 1.4.2_03 plugin for example
C:\j2sdk1.4.2_03\demo\jfc\Java2D\Java2Demo.html
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
None that I could come up with.
(Incident Review ID: 231494)
======================================================================
- relates to
-
JDK-5099332 the appletviewer disappear when reload an applet
-
- Closed
-
-
JDK-4123869 Restarting the applet using GridBagLayout alters the layout of its components.
-
- Closed
-
-
JDK-4879990 Aggregate all appletviewer bugs related to appContext switching
-
- Closed
-