Skip to Main Content

There is insufficient memory for the Java Runtime Environment to continue.

3009053Dec 23 2015 — edited Dec 23 2015

Hi experts,

Any Idea why I am getting this error on Oracle Linux 6.5. When load increase on server I get following Error.

#

# There is insufficient memory for the Java Runtime Environment to continue.

# Cannot create GC thread. Out of system resources.

# 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 (gcTaskThread.cpp:46), pid=63714, tid=4095265056

#

# JRE version: 7.0_25-b15

# Java VM: Java HotSpot(TM) Server VM (23.25-b01 mixed mode linux-x86 )

# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

#

---------------  T H R E A D  ---------------

Current thread (0x0904c400):  JavaThread "Unknown thread" [_thread_in_vm, id=63714, stack(0xff967000,0xff9b7000)]

Stack: [0xff967000,0xff9b7000],  sp=0xff9aac94,  free space=271k

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)

V  [libjvm.so+0x71ca19]  VMError::report_and_die()+0x199

V  [libjvm.so+0x2e5372]  report_vm_out_of_memory(char const*, int, unsigned int, char const*)+0x72

V  [libjvm.so+0x39143b]  GCTaskThread::GCTaskThread(GCTaskManager*, unsigned int, unsigned int)+0xcb

V  [libjvm.so+0x39007a]  GCTaskManager::initialize()+0x22a

Thnx in advance.

Salahuddin

Comments
Post Details
Added on Dec 23 2015
0 comments
1,943 views