JDK-6804608 : GC doesn't release resources(Mem/handle/GDI) with -Xms in 1.4.2_19
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 1.4.2_19
  • Priority: P3
  • Status: Closed
  • Resolution: Not an Issue
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2009-02-12
  • Updated: 2011-02-16
  • Resolved: 2009-06-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4-poolResolved
Related Reports
Duplicate :  
Relates :  
Description
When -Xms is specified to command line, GC does not release system resources (Mem/handle/GDI).
So, memory is exhausted and java process terminates.

CONFIGURATION:
WindowsXP(sp2, Japanese edition)/JDK1.4.2_19

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 -Xms64m 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

Comments
PUBLIC COMMENTS Reference -> https://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html
26-03-2009