JDK-6748784 : NetBeans Debugger session causes VM crash - out of C heap
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2008-09-16
  • Updated: 2011-02-16
  • Resolved: 2010-10-13
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.6.0_10-rc"
Java(TM) SE Runtime Environment (build 1.6.0_10-rc-b28)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)

FULL OS VERSION :
Windows XP SR-2

A DESCRIPTION OF THE PROBLEM :
The error occured while starting JVM from NetBeans IDE
See description here:
http://www.netbeans.org/issues/show_bug.cgi?id=146914

[ BUILD # : 200809101401 ]
[ JDK VERSION : 1.6.0 ]

[JDK 1.6.0_10 RC]
- Checkout this project (by revision 396!):
https://java-nio-charset-enhanced.dev.java.net/source/browse/java-nio-
charset-enhanced/trunk/?rev=396
- ensure you have 2nd JDK (e.g. 1.6.0 b105) installed on your system
and resolve broken link from Project Properties.
- set breakpoint as shown in attachment
- "Debug File" CharsetsTest
- wait for some minutes
--> NetBeans GUI will disappear without notice. Sometimes you will
see java.exe=100% CPU in Windows Taskmanager. After a while it will
disappear also.

THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try

THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Did not try

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
See description here:
http://www.netbeans.org/issues/show_bug.cgi?id=146914

ERROR MESSAGES/STACK TRACES THAT OCCUR :
None.
For log files see here:
http://www.netbeans.org/issues/show_bug.cgi?id=146914

REPRODUCIBILITY :
This bug can be reproduced always.

Comments
EVALUATION Another instance of the VM dying an ungraceful death when C heap is exhausted. At least the error indicates that, but it still looks like a crash.
13-10-2010

EVALUATION The error is: # java.lang.OutOfMemoryError: requested 1024000 bytes for GrET in C:\BUILD_AREA\jdk6_10\hotspot\src\share\vm\utilities\growableArray.cpp. Out of swap space? # # Internal Error (allocation.inline.hpp:42), pid=1052, tid=8244 # Error: GrET in C:\BUILD_AREA\jdk6_10\hotspot\src\share\vm\utilities\growableArray.cpp which is simply C-heap exhaustion.
16-09-2008