Internal Error Allocation.cpp
hs_err_pid123456.log may be created in the application server's bin directory (wherever you start it from), containing text like: # # A fatal error has been detected by the Java Runtime Environment: # # java.lang.OutOfMemoryError: requested 17179869200 bytes for Chunk::new. Out of swap space? # # Internal Error (allocation.cpp:215), pid=30169, tid=1080936768 # Error: Chunk::new # # JRE version: 6.0_19-b04 # Java VM: Java HotSpot(TM) 64-Bit Server VM (16.2-b04 mixed mode linux-amd64 ) # An error report file with more information is saved as: # /usr/confluence-3.0.0_01-std/bin/hs_err_pid30169.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # This indicates Java has failed to acquire more memory from the operating system. The hs_err Logs may contain: # # A fatal error has been detected by the Java Runtime Environment: # # java.lang.OutOfMemoryError: requested 17179869200 bytes for Chunk::new. Out of swap space? # # Internal Error (allocation.cpp:215), pid=31336, tid=1090754912 # Error: Chunk::new # # JRE version: 6.0_18-b07 # Java VM: Java HotSpot(TM) 64-Bit Server VM (16.0-b13 mixed mode linux-amd64 ) # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # --------------- T H R E A D --------------- Current thread (0x0000002bda85e000): JavaThread "CompilerThread1" daemon [_thread_in_native, id=31351, stack(0x0000000040f39000,0x000000004103a000)] Stack: [0x0000000040f39000,0x000000004103a000], sp=0x0000000041033520, free space=3e90000000000000018k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x70e5f0] V [libjvm.so+0x2e3f98] .. .. .. Current CompileTask: C2:9245 ! org.apache.velocity.runtime.directive.Foreach.render(Lorg/apache/velocity/context/InternalContextAdapter;Ljava/io/Writer;Lorg/apache/velocity/runtime/parser/node/Node;)Z (514 bytes) ------------
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags https://confluence.atlassian.com/confkb/fatal-jvm-crash-java-lang-outofmemoryerror-out-of-swap-space-219023686.html Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How to deal with jvm crash with outofmemory err on http://stackoverflow.com/questions/9705486/how-to-deal-with-jvm-crash-with-outofmemory-err-on-linux linux? up vote 0 down vote favorite Redhat Enterprise Linux 5.4 32-bit + Sun HotSpot JVM 6u5 32-bit + "-Xms1536m -Xmx2048m -XX:PermSize=128m -XX:MaxPermSize=512m ....." The jvm crash with fatal error logs generating. java.lang.OutOfMemoryError: requested 828752 bytes for Chunk::new. Out of swap space? Internal Error (allocation.cpp:218), pid=21557, tid=329534352 Error: Chunk::new java.lang.OutOfMemoryError: requested 383504 bytes for GrET in /BUILD_AREA/jdk6_05/hotspot/src/share/vm/utilities/growableArray.cpp. Out of swap space? Internal Error (allocation.inline.hpp:42), pid=16927, tid=334281616 Error: GrET in /BUILD_AREA/jdk6_05/hotspot/src/share/vm/utilities/growableArray.cpp java.lang.OutOfMemoryError: requested 256000 bytes for GrET in /BUILD_AREA/jdk6_05/hotspot/src/share/vm/utilities/growableArray.cpp. Out of swap space? Internal Error (allocation.inline.hpp:42), pid=16863, tid=334216080 Error: GrET in /BUILD_AREA/jdk6_05/hotspot/src/share/vm/utilities/growableArray.cpp .......... It's may be the jvm itself c/c++ core memory leak, the c/c++ memory using reach the jvm critical value, or the platform swap space is insufficient. How to deal with jvm itself c/c++ core memory leak ? The Valgrind v3.7 cann't work
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings http://stackoverflow.com/questions/1102544/jvm-errors-after-updating-to-java-6-update-14 and policies of this site About Us Learn more about Stack Overflow http://stackoverflow.com/questions/4435819/java-lang-outofmemoryerror-requested-1958536-bytes-for-chunknew-out-of-swap the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it internal error only takes a minute: Sign up JVM errors after updating to Java 6 Update 14 up vote 2 down vote favorite 1 I've been getting some strange errors ( perhaps once per day ) after updating a handful of servers to run on Java 6 update 14. The errors are similar to # # A fatal error has been detected by internal error allocation.cpp the Java Runtime Environment: # # java.lang.OutOfMemoryError: requested 1759920 bytes for Chunk::new. Out of swap space? # # Internal Error (allocation.cpp:215), pid=26706, tid=317545360 # Error: Chunk::new # # JRE version: 6.0_14-b08 # Java VM: Java HotSpot(TM) Server VM (14.0-b16 mixed mode linux-x86 ) # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Stragely enough, the current thread is the compiler 0x088a0800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=26716, stack(0x12c7f000,0x12d00000)] =>0x0889e400 JavaThread "CompilerThread0" daemon [_thread_in_native, id=26715, stack(0x12e55000,0x12ed6000)] and there is more than enough memory available: Heap PSYoungGen total 256064K, used 93533K [0xa2cd0000, 0xb4290000, 0xb4290000) eden space 228352K, 31% used [0xa2cd0000,0xa72d6308,0xb0bd0000) from space 27712K, 78% used [0xb2780000,0xb3cd1150,0xb4290000) to space 28032K, 0% used [0xb0bd0000,0xb0bd0000,0xb2730000) PSOldGen total 2275584K, used 885858K [0x17e90000, 0xa2cd0000, 0xa2cd0000) object space 2275584K, 38% used [0x17e90000,0x4dfa8bf8,0xa2cd0000) PSPermGen total 32128K, used 27819K [0x13e90000, 0x15df0000, 0x17e90000) object space 32128K, 86% used [0x13e90000,0x159bac50,0x15df0000) I known JVM crashes are hard to debug, but I'm curious if any of you encountered similar issues - and how did you solve them. java jvm share|improve this question asked Jul 9 '09 at 8:29
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up java.lang.OutOfMemoryError: requested 1958536 bytes for Chunk::new. Out of swap space up vote 7 down vote favorite 3 We are facing the below problem at our production enviournment in unpredictable manner sometimes the server is down in a day or sometimes in a week, below is the exact error dump, below are the settings for the server. JDK: jdk1.6.0_21 Server: Tomcat 7.0.2 OS: Red Hat Enterprise Linux Server release 5.5 In catalina.sh the following setting has been done: JAVA_OPTS="-Xms1024M -Xmx1536M -XX:+HeapDumpOnOutOfMemoryError -XX:+AggressiveOpts -XX:-DisableExplicitGC -XX:AdaptiveSizeThroughPutPolicy=0 -XX:+UsePSAdaptiveSurvivorSizePolicy -XX:+UseAdaptiveGenerationSizePolicyAtMinorCollection -XX:+UseAdaptiveGenerationSizePolicyAtMajorCollection -XX:PermSize=768M -XX:MaxPermSize=768M -XX:+PrintGCDetails -Xloggc:/tmp/gcLogs.txt" export CATALINA_OPTS="-Dcom.sun.management.jmxremote.port=22222 -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.password.file=/jakarta-tomcat7/apache-tomcat-7.0.2/conf /jmxremote.password -Dcom.sun.management.jmxremote.access.file=/jakarta-tomcat7/apache- tomcat-7.0.2/conf/jmxremote.access" Error Trace:- # # A fatal error has been detected by the Java Runtime Environment: # # java.lang.OutOfMemoryError: requested 1958536 bytes for Chunk::new. Out of swap space? # # Internal Error (allocation.cpp:215), pid=18658, tid=589781904 # Error: Chunk::new # # JRE version: 6.0_21-b06 # Java VM: Java HotSpot(TM) Server VM (17.0-b16 mixed mode linux-x86 ) # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # --------------- T H R E A D --------------- Current thread (0x23787400): JavaThread "CompilerThread0" daemon [_thread_in_native, id=18668, stack(0x231f5000,0x23276000)