-
Bug
-
Resolution: Not an Issue
-
P3
-
7
-
x86
-
windows_xp
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2160057 | 1.4-pool | Vaibhav Choudhary | P2 | Closed | Duplicate |
When a user tries to invoke printjob, resources(Mem usage, Handles and GDI) is increasing.
CONGIGURATION :
OS : WindowsXP(SP2, Japanese/English)
JRE : 1.4.2_16/5.0u14/6.0u4/7b24
REPRODUCE :
1. Open "task manager" and add the rows, "Mem usage", "Handle count" and "GDI objects"
2. Compile the attached test program, PT3.java
3. Invoke "java PT3"
4. Please watch the resources in Task Manager
NOTE:
The attached program tries to invoke printJobs 10,000 times.
The output of printer should be set to a fixed file.
1. Open "printers and faxes" in Control panel
2. Click the existing printer and opne the properties
3. Click "ports" tab
3. Click "Add port.." button
4. Select(high-light) "Local Port" in Printer Ports window and
click "New Port.." button
5. Enter a file name (with full path name to the file) as port name.
ex. D:\resource-leak-problem\dummy
CONGIGURATION :
OS : WindowsXP(SP2, Japanese/English)
JRE : 1.4.2_16/5.0u14/6.0u4/7b24
REPRODUCE :
1. Open "task manager" and add the rows, "Mem usage", "Handle count" and "GDI objects"
2. Compile the attached test program, PT3.java
3. Invoke "java PT3"
4. Please watch the resources in Task Manager
NOTE:
The attached program tries to invoke printJobs 10,000 times.
The output of printer should be set to a fixed file.
1. Open "printers and faxes" in Control panel
2. Click the existing printer and opne the properties
3. Click "ports" tab
3. Click "Add port.." button
4. Select(high-light) "Local Port" in Printer Ports window and
click "New Port.." button
5. Enter a file name (with full path name to the file) as port name.
ex. D:\resource-leak-problem\dummy
- backported by
-
JDK-2160057 Resources(Mem usage, Handles and GDI) is increasing with many printjob
-
- Closed
-
- relates to
-
JDK-6255588 JDK windows printing implementation leaks GDI objects.
-
- Resolved
-
-
JDK-6407901 additional fix for 6255588 - "JDK windows printing implementation leaks GDI objects"
-
- Resolved
-
-
JDK-6804608 GC doesn't release resources(Mem/handle/GDI) with -Xms in 1.4.2_19
-
- Closed
-