-
Bug
-
Resolution: Fixed
-
P1
-
9
-
b51
-
x86_64
-
linux
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8082853 | emb-9 | Christian Tornqvist | P1 | Resolved | Fixed | team |
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 135456 bytes for Chunk::new
# Possible reasons:
# The system is out of physical RAM or swap space
# In 32 bit mode, the process size limit was hit
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Use 64 bit Java on a 64 bit OS
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
# Out of Memory Error (/opt/jprt/T/P1/195106.ctornqvi/s/hotspot/src/share/vm/memory/allocation.cpp:373), pid=26988, tid=140082630584064
#
# JRE version: Java(TM) SE Runtime Environment (9.0) (build 1.9.0-internal-fastdebug-20150123195106.ctornqvi.jdk9-rt-b00)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.9.0-internal-fastdebug-20150123195106.ctornqvi.jdk9-rt-b00 compiled mode linux-amd64 compressed oops)
--------------- T H R E A D ---------------
Current thread (0x00007f68241a2800): JavaThread "C2 CompilerThread9" daemon [_thread_in_native, id=27090, stack(0x00007f67875f6000,0x00007f67876f7000)]
Stack: [0x00007f67875f6000,0x00007f67876f7000], sp=0x00007f67876f2020, free space=1008k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x107e161] VMError::report_and_die()+0x151;; VMError::report_and_die()+0x151
V [libjvm.so+0x73e35d] report_vm_out_of_memory(char const*, int, unsigned long, VMErrorType, char const*)+0x6d;; report_vm_out_of_memory(char const*, int, unsigned long, VMErrorType, char const*)+0x6d
V [libjvm.so+0x3dd73d] Chunk::operator new(unsigned long, AllocFailStrategy::AllocFailEnum, unsigned long)+0x1cd;; Chunk::operator new(unsigned long, AllocFailStrategy::AllocFailEnum, unsigned long)+0x1cd
V [libjvm.so+0x3de6bb] Arena::grow(unsigned long, AllocFailStrategy::AllocFailEnum)+0x3b;; Arena::grow(unsigned long, AllocFailStrategy::AllocFailEnum)+0x3b
V [libjvm.so+0xcdc6f5] Matcher::xform(Node*, int)+0xde5;; Matcher::xform(Node*, int)+0xde5
V [libjvm.so+0xce0ea9] Matcher::match()+0xcf9;; Matcher::match()+0xcf9
V [libjvm.so+0x6b9181] Compile::Code_Gen()+0xa1;; Compile::Code_Gen()+0xa1
V [libjvm.so+0x6be3cd] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool)+0x13bd;; Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool)+0x13bd
V [libjvm.so+0x586ce6] C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x116;; C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x116
V [libjvm.so+0x6c9801] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x941;; CompileBroker::invoke_compiler_on_method(CompileTask*)+0x941
V [libjvm.so+0x6ca3e8] CompileBroker::compiler_thread_loop()+0x408;; CompileBroker::compiler_thread_loop()+0x408
V [libjvm.so+0xffbb84] JavaThread::thread_main_inner()+0x1d4;; JavaThread::thread_main_inner()+0x1d4
V [libjvm.so+0xffbea6] JavaThread::run()+0x296;; JavaThread::run()+0x296
V [libjvm.so+0xdd5bf2] java_start(Thread*)+0xf2;; java_start(Thread*)+0xf2
C [libpthread.so.0+0x7851]
Current CompileTask:
C2: 5796 1518 b 4 sun.misc.FloatingDecimal$ASCIIToBinaryBuffer::doubleValue (1194 bytes)
free (default is K):
total used free shared buffers cached
Mem: 264738308 44295472 220442836 0 3334976 23971460
-/+ buffers/cache: 16989036 247749272
Swap: 4193276 1252 4192024
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 135456 bytes for Chunk::new
# Possible reasons:
# The system is out of physical RAM or swap space
# In 32 bit mode, the process size limit was hit
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Use 64 bit Java on a 64 bit OS
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
# Out of Memory Error (/opt/jprt/T/P1/195106.ctornqvi/s/hotspot/src/share/vm/memory/allocation.cpp:373), pid=26988, tid=140082630584064
#
# JRE version: Java(TM) SE Runtime Environment (9.0) (build 1.9.0-internal-fastdebug-20150123195106.ctornqvi.jdk9-rt-b00)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.9.0-internal-fastdebug-20150123195106.ctornqvi.jdk9-rt-b00 compiled mode linux-amd64 compressed oops)
--------------- T H R E A D ---------------
Current thread (0x00007f68241a2800): JavaThread "C2 CompilerThread9" daemon [_thread_in_native, id=27090, stack(0x00007f67875f6000,0x00007f67876f7000)]
Stack: [0x00007f67875f6000,0x00007f67876f7000], sp=0x00007f67876f2020, free space=1008k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x107e161] VMError::report_and_die()+0x151;; VMError::report_and_die()+0x151
V [libjvm.so+0x73e35d] report_vm_out_of_memory(char const*, int, unsigned long, VMErrorType, char const*)+0x6d;; report_vm_out_of_memory(char const*, int, unsigned long, VMErrorType, char const*)+0x6d
V [libjvm.so+0x3dd73d] Chunk::operator new(unsigned long, AllocFailStrategy::AllocFailEnum, unsigned long)+0x1cd;; Chunk::operator new(unsigned long, AllocFailStrategy::AllocFailEnum, unsigned long)+0x1cd
V [libjvm.so+0x3de6bb] Arena::grow(unsigned long, AllocFailStrategy::AllocFailEnum)+0x3b;; Arena::grow(unsigned long, AllocFailStrategy::AllocFailEnum)+0x3b
V [libjvm.so+0xcdc6f5] Matcher::xform(Node*, int)+0xde5;; Matcher::xform(Node*, int)+0xde5
V [libjvm.so+0xce0ea9] Matcher::match()+0xcf9;; Matcher::match()+0xcf9
V [libjvm.so+0x6b9181] Compile::Code_Gen()+0xa1;; Compile::Code_Gen()+0xa1
V [libjvm.so+0x6be3cd] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool)+0x13bd;; Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool)+0x13bd
V [libjvm.so+0x586ce6] C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x116;; C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x116
V [libjvm.so+0x6c9801] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x941;; CompileBroker::invoke_compiler_on_method(CompileTask*)+0x941
V [libjvm.so+0x6ca3e8] CompileBroker::compiler_thread_loop()+0x408;; CompileBroker::compiler_thread_loop()+0x408
V [libjvm.so+0xffbb84] JavaThread::thread_main_inner()+0x1d4;; JavaThread::thread_main_inner()+0x1d4
V [libjvm.so+0xffbea6] JavaThread::run()+0x296;; JavaThread::run()+0x296
V [libjvm.so+0xdd5bf2] java_start(Thread*)+0xf2;; java_start(Thread*)+0xf2
C [libpthread.so.0+0x7851]
Current CompileTask:
C2: 5796 1518 b 4 sun.misc.FloatingDecimal$ASCIIToBinaryBuffer::doubleValue (1194 bytes)
free (default is K):
total used free shared buffers cached
Mem: 264738308 44295472 220442836 0 3334976 23971460
-/+ buffers/cache: 16989036 247749272
Swap: 4193276 1252 4192024
- backported by
-
JDK-8082853 [TESTBUG] runtime/Unsafe/AllocateMemory.java crashed on OOM during compilation.
- Resolved
- relates to
-
JDK-8148747 [TESTBUG] runtime/Unsafe/AllocateMemory.java fails with OOM during compilation
- Resolved