FIX: Printing from Java Results in Depletion of GDI and System Resources (244201)
The information in this article applies to:
- Microsoft virtual machine, when used with:
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
This article was previously published under Q244201 SYMPTOMS
If you use PrintJob (through getToolkit().getPrintJob) for printing multiple times through Java, this results in depletion of Graphics Device
Interface (GDI) resources. If the applet that is doing the printing is hosted in a browser, it will eventually cause the browser to stop responding.
CAUSE
The device context is not being deleted in Graphics.dispose().
RESOLUTION
To resolve this problem, update your version of the Microsoft virtual machine (Microsoft VM) to build 3188 (or later). See the "References" section of this
article for a link to download the latest Microsoft VM.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
This problem was corrected in Microsoft VM build 3188 and later.
This problem was corrected in Windows 2000 Service Pack 1.
REFERENCES
The latest Microsoft VM is available for download at the following Web site:
For additional information about the latest service pack for Windows 2000, click the article number below
to view the article in the Microsoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack
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: | kbBug kbfix kbJavaVM31xxfix kbJavaVM33xxfix kbQFE KB244201 |
---|
|