1 Reply Latest reply on Mar 11, 2011 5:42 PM by peterj

    JVM Core Dumps in growablearray.cpp

    williamsjd

      I think this is a JRE/JVM question, but I'd appreciate any expertise anyone has on this:

       

      We have had numerous core dumps of JBoss when growablearray.cpp has tried to extend some data structure and encounters an OutOfMemoryError.  Here's an example: (I'll omit the threads for clarity... just ask if you really want them!)

       

      #

      # An unexpected error has been detected by Java Runtime Environment:

      #

      # java.lang.OutOfMemoryError: requested 29120088 bytes for GrET in /BUILD_AREA/jdk6_13/hotspot/src/share/vm/utilities/growableArray.cpp. Out of swap space?

      #

      #  Internal Error (allocation.inline.hpp:42), pid=1014, tid=943287184

      #  Error: GrET in /BUILD_AREA/jdk6_13/hotspot/src/share/vm/utilities/growableArray.cpp

      #

      # Java VM: Java HotSpot(TM) Server VM (11.3-b02 mixed mode linux-x86)

      # If you would like to submit a bug report, please visit:

      #   http://java.sun.com/webapps/bugreport/crash.jsp

      #

      . . . .

      VM Arguments:

      jvm_args: -Dprogram.name=run.sh -Xms1536m -Xmx1536m -XX:PermSize=384M -XX:MaxPermSize=384M -XX:+DisableExplicitGC -XX:MaxNewSize=64m -XX:NewSize=64m -XX:SurvivorRatio=256 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=0 -XX:CMSInitiatingOccupancyFraction=60 -verbose:gc -XX:+PrintGCDetails -XX:+PrintTenuringDistribution -XX:+PrintGCTimeStamps -Xloggc:/opt/ion/logs/gc.log -Dcom.sun.management.jmxremote.port=8082 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/usr/local/jboss/lib/endorsed

      java_command: org.jboss.Main -b 0.0.0.0

      Launcher Type: SUN_STANDARD

       

      . . . .

       

      ---------------  S Y S T E M  ---------------

       

      OS:Red Hat Enterprise Linux Server release 5.5 (Tikanga)

       

      uname:Linux 2.6.18-194.3.1.el5 #1 SMP Sun May 2 04:22:18 EDT 2010 i686

      libc:glibc 2.5 NPTL 2.5

      rlimit: STACK 10240k, CORE 0k, NPROC infinity, NOFILE 10240, AS infinity

      load average:2.59 1.83 1.86

       

      CPU:total 4 (1 cores per cpu, 1 threads per core) family 6 model 10 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

       

      Memory: 4k page, physical 2976464k(161052k free), swap 4128760k(3973736k free)

       

      vm_info: Java HotSpot(TM) Server VM (11.3-b02) for linux-x86 JRE (1.6.0_13-b03), built on Mar  9 2009 01:16:42 by "java_re" with gcc 3.2.1-7a (J2SE release)

       

      time: Thu Feb 10 01:08:27 2011

      elapsed time: 511257 seconds

       

      Has anyone else run into this type of problem using JBoss? If so, what changes would you recommend?