The information in this article applies to:
SYMPTOMSWhen loading images or audio files from an applet with getImage() or getAudioClip(), a memory and handle leak will result. CAUSEImages and audio clips loaded via Applet.getImage() and Applet.getAudioClip() are cached in an unbounded hash table. If you have an applet that loaded many images, memory usage will grow with each image loaded. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONMemory usage was measured by watching the Working Set and Handle Count of the Iexplore.exe process using the Performance Monitor (Perfmon.exe) in Windows NT. As new images were loaded, the items above continued to increase, even after the java.awt.Image variable was set to null and System.gc() was called. REFERENCESFor the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following pages on the Microsoft Technical Support site: http://support.microsoft.com/support/visualj/ Additional query words:
Keywords : kbJava |
Last Reviewed: November 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |