FIX: Java.awt.PrintJob Leaks GDI Objects (277781)
The information in this article applies to:
- Microsoft virtual machine
This article was previously published under Q277781 SYMPTOMS
When you use PrintJob objects that are returned by the Toolkit.getPrintJob method, you may notice memory and Graphics Device Interface (GDI) handle leaks. The symptoms are as follows:
- On Microsoft Windows 95 or Microsoft Windows 98, GDI resource percentages drop indefinitely as seen with the Resource Meter.
- On Microsoft Windows NT, GDI handles rise indefinitely as seen with the Task Manager.
CAUSE
This problem is caused by a bug in the Microsoft virtual machine's (Microsoft VM) PrintJob and PrintGraphics implementation that sometimes keeps a PrintGraphics object from properly cleaning up after itself.
RESOLUTION
To resolve this issue, install build 3319 or later of the Microsoft VM. For more information, visit the following Microsoft Web site: WARNING: After you install the updated Microsoft VM, you cannot uninstall it.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This bug was corrected in the Microsoft VM build 3319. REFERENCES
For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 6/14/2006 |
---|
Keywords: | kbAwtPkg kbBug kbfix kbJavaVM33xxfix KB277781 |
---|
|