JDK-6323105 : Giving reasonable Error Message when running out of Perm-Space
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 5.0u4
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2005-09-13
  • Updated: 2011-01-27
  • Resolved: 2006-04-24
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.
JDK 7
7Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
Please give some meaningfull Error-Message, when JVM runs out of Perm Space rather than to loop, block or deadlock. Best whould be a Java Exception like "OutOfPermSpaceException", although this might be impossible at that point.

Please see Bug# 6320642 for testcase

Comments
EVALUATION There have been several improve out of memory handling rfe's. The one that prints the string of which memory ran out (perm space, old gen, etc) is 4965918. I think the bug part of this RFE (looping, hanging, etc when running out of perm space) is covered by CR 6370163 (bug) and the request for more information is covered by CR's 6366021 (RFE), as Ramki indicated in the comments. I think it's appropriate to close this as a duplicate of that RFE.
24-04-2006