Name: rlT66838 Date: 05/17/2000
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
I've been seeing huge (10-13 Mb) memory losses and get an out of memory message
when running a 1.2.2 or 1.3 applet under Windows NT. The problem occurs when
the computer gets close to the virtual memory limit (actually the initial
limit, not even the upper limit). I was able to reproduce this problem by
running a Sun Java Applet. I have 64Mb RAM on my computer with the virtual
memory settings to be 43 Mb initial size and 93 Mb maximum size. Here are the
steps required to reproduce the problem with Windows NT:
1) Reboot the computer - This is important since the memory leak occurs only
once. When the memory has been lost, the problem won't reoccur (however the
memory will still be lost and closing all applications won't free it up).
2) Run the following Sun applet:
http://java.sun.com/products/plugin/1.2/demos/SwingSet/SwingSetApplet.html
3) Monitor the Task Manager. My Memory usage records about 73 Mb / 99 Mb.
4) Open up another browser window ( I opened it up to http://java.sun.com ).
5) Open up successive browser windows to http://java.sun.com until the Task
Manager records memory usage to be around 89 Mb or 90 Mb. Task usage should
read as 90 Mb / 99 Mb.
6) De-Iconify the SwingSetApplet and do some minor operation such as running
the text example. Memory usage skyrockets up to 99 Mb, and an out of memory
message appears. The memory loss jumps about 10 Mb in about 1 second. It is
not a gradual degradation.
(Review ID: 105000)
======================================================================