FULL PRODUCT VERSION :
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
FULL OS VERSION :
Windows Server 2008 R2 Enterprise SP1, 64-bit.
Windows Server 2008 R2 Enterprise, SP1, 64-bit
Output from ver: Microsoft Windows [Version 6.1.7601]
EXTRA RELEVANT SYSTEM CONFIGURATION :
Server has 512 GB RAM
A DESCRIPTION OF THE PROBLEM :
After configuring CMS GC (see params below) with a NewSize 1/4 the size of the heap, if the heap size is beyond a certain point, java will crash immediately. That point is somewhere between 128 and 192G:
128G heap: Xms / Xmx = 131072M, NewSize = 32768m -- Succeeds.
192G heap: Xms / Xmx = 196608M, NewSize = 49152m -- Fails.
THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try
THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Start a JRE with a server with sufficient RAM:
java -Xmx196608M -Xms196608M -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC -XX:NewSize=49152m Foo.class
EXPECTED VERSUS ACTUAL BEHAVIOR :
java should not crash.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Crash reported in Windows is:
Problem signature:
Problem Event Name:APPCRASH
Application Name:java.exe
Application Version:7.0.170.2
Application Timestamp:513094ec
Fault Module Name:msvcr100.dll
Fault Module Version:10.0.30319.460
Fault Module Timestamp:4db1316a
Exception Code:c0000005
Exception Offset:000000000003c350
OS Version:6.1.7601.2.1.0.274.10
Locale ID:1033
Additional Information 1:d88d
Additional Information 2:d88db958fddab0a6ecce64dc175d2f43
Additional Information 3:9af5
Additional Information 4:9af5c91664697c89e3278cb71f6f5329
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Run with a 128M heap.
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
FULL OS VERSION :
Windows Server 2008 R2 Enterprise SP1, 64-bit.
Windows Server 2008 R2 Enterprise, SP1, 64-bit
Output from ver: Microsoft Windows [Version 6.1.7601]
EXTRA RELEVANT SYSTEM CONFIGURATION :
Server has 512 GB RAM
A DESCRIPTION OF THE PROBLEM :
After configuring CMS GC (see params below) with a NewSize 1/4 the size of the heap, if the heap size is beyond a certain point, java will crash immediately. That point is somewhere between 128 and 192G:
128G heap: Xms / Xmx = 131072M, NewSize = 32768m -- Succeeds.
192G heap: Xms / Xmx = 196608M, NewSize = 49152m -- Fails.
THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try
THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Start a JRE with a server with sufficient RAM:
java -Xmx196608M -Xms196608M -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC -XX:NewSize=49152m Foo.class
EXPECTED VERSUS ACTUAL BEHAVIOR :
java should not crash.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Crash reported in Windows is:
Problem signature:
Problem Event Name:APPCRASH
Application Name:java.exe
Application Version:7.0.170.2
Application Timestamp:513094ec
Fault Module Name:msvcr100.dll
Fault Module Version:10.0.30319.460
Fault Module Timestamp:4db1316a
Exception Code:c0000005
Exception Offset:000000000003c350
OS Version:6.1.7601.2.1.0.274.10
Locale ID:1033
Additional Information 1:d88d
Additional Information 2:d88db958fddab0a6ecce64dc175d2f43
Additional Information 3:9af5
Additional Information 4:9af5c91664697c89e3278cb71f6f5329
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Run with a 128M heap.