1 Reply Latest reply on Jul 11, 2011 10:10 AM by 802316

    my jvm issue

      the next is the jvm output log file content, please help to determine the cause of the problem.

      thanks very much.

      # A fatal error has been detected by the Java Runtime Environment:
      # java.lang.OutOfMemoryError: requested 725128 bytes for Chunk::new. Out of swap space?
      # Internal Error (allocation.cpp:272), pid=25456, tid=726625168
      # Error: Chunk::new
      # JRE version: 6.0_24-b07
      # Java VM: Java HotSpot(TM) Server VM (19.1-b02 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 (0x2ba33800): JavaThread "CompilerThread1" daemon [_thread_in_native, id=25475, stack(0x2b476000,0x2b4f7000)]

      Stack: [0x2b476000,0x2b4f7000], sp=0x2b4f4c10, free space=507k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x708370]
      V [libjvm.so+0x2e8aaf]
      V [libjvm.so+0x153a1c]
      V [libjvm.so+0x153f46]
      V [libjvm.so+0x3a1e25]
      V [libjvm.so+0x24c4fe]
      V [libjvm.so+0x2b05fe]
      V [libjvm.so+0x2ac59d]
      V [libjvm.so+0x239d6f]
      V [libjvm.so+0x2b573e]
      V [libjvm.so+0x2b4fb1]
      V [libjvm.so+0x6ccdd6]
      V [libjvm.so+0x6c604f]
      V [libjvm.so+0x5c6a6e]
      C [libpthread.so.0+0x5832]

      Current CompileTask:
      C2:388 ! org.xsocket.connection.HandlerAdapter.performOnData(Lorg/xsocket/connection/INonBlockingConnection;Lorg/xsocket/SerializedTaskQueue;ZLorg/xsocket/connection/IDataHandler;)V (402 bytes)

      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
      0x192e0800 JavaThread "SerializedTaskQueueFallbackThread" daemon [_thread_in_vm, id=2778, stack(0xffb7b000,0xffbcc000)]
      0x192e0400 JavaThread "SerializedTaskQueueFallbackThread" daemon [_thread_blocked, id=2774, stack(0x11896000,0x118e7000)]
      0x194aa400 JavaThread "SerializedTaskQueueFallbackThread" daemon [_thread_blocked, id=2773, stack(0x10cd6000,0x10d27000)]
      0x194a9c00 JavaThread "SerializedTaskQueueFallbackThread" daemon [_thread_blocked, id=2772, stack(0x1156c000,0x115bd000)]
      0x1a74b800 JavaThread "SerializedTaskQueueFallbackThread" daemon [_thread_blocked, id=2771, stack(0x2372b000,0x2377c000)]


      0x2baf1c00 JavaThread "xServer:10000" [_thread_in_native, id=25483, stack(0x2a65e000,0x2a6af000)]
      0x2bacd800 JavaThread "xDispatcherSrv10000#1" daemon [_thread_in_vm, id=25482, stack(0x2a6af000,0x2a700000)]
      0x2baa8800 JavaThread "xDispatcherSrv10000#0" daemon [_thread_in_native, id=25481, stack(0x2a811000,0x2a862000)]
      0x2baac000 JavaThread "xIoTimer" daemon [_thread_blocked, id=25478, stack(0x2b353000,0x2b3a4000)]
      0x2ba35800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=25476, stack(0x2b425000,0x2b476000)]
      =>0x2ba33800 JavaThread "CompilerThread1" daemon [_thread_in_native, id=25475, stack(0x2b476000,0x2b4f7000)]
      0x2ba32000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=25474, stack(0x2b4f7000,0x2b578000)]
      0x2ba30400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=25473, stack(0x2b578000,0x2b5c9000)]
      0x2ba2f000 JavaThread "Surrogate Locker Thread (CMS)" daemon [_thread_blocked, id=25472, stack(0x2b5c9000,0x2b61a000)]
      0x2ba20c00 JavaThread "Finalizer" daemon [_thread_blocked, id=25471, stack(0x2b92e000,0x2b97f000)]
      0x2ba1f400 JavaThread "Reference Handler" daemon [_thread_blocked, id=25470, stack(0x2bb25000,0x2bb76000)]
      0x087f3800 JavaThread "main" [_thread_blocked, id=25457, stack(0xf735e000,0xf73af000)]

      Other Threads:
      0x2ba1b800 VMThread [stack: 0x2b97f000,0x2ba00000] [id=25469]
      0x2ba37800 WatcherThread [stack: 0x2b3a4000,0x2b425000] [id=25477]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      par new generation total 14784K, used 10875K [0x32cf0000, 0x33cf0000, 0x3acf0000)
      eden space 13184K, 70% used [0x32cf0000, 0x335fec50, 0x339d0000)
      from space 1600K, 100% used [0x33b60000, 0x33cf0000, 0x33cf0000)
      to space 1600K, 0% used [0x339d0000, 0x339d0000, 0x33b60000)
      concurrent mark-sweep generation total 2056192K, used 51859K [0x3acf0000, 0xb84f0000, 0xefcf0000)
      concurrent-mark-sweep perm gen total 16384K, used 5030K [0xefcf0000, 0xf0cf0000, 0xf3cf0000)

      Dynamic libraries:
      0000d000-00010000 ---p 0000d000 00:00 0
      00010000-0005e000 rwxp 00010000 00:00 0
      0005e000-00061000 ---p 0005e000 00:00 0
      00061000-000af000 rwxp 00061000 00:00 0
      000af000-000b2000 ---p 000af000 00:00 0
      000b2000-001ff000 rwxp 000b2000 00:00 0
      001ff000-00200000 ---p 001ff000 00:00 0
      0020d000-00210000 ---p 0020d000 00:00 0


      fff95000-fff98000 ---p fff95000 00:00 0
      fff98000-fffe6000 rwxp fff98000 00:00 0
      ffffe000-fffff000 r-xp ffffe000 00:00 0

      VM Arguments:
      jvm_args: -Xms2024M -Xmx3024M -XX:+UseConcMarkSweepGC -XX:-DisableExplicitGC -XX:CMSInitiatingOccupancyFraction=55
      java_command: bin/rpc_server.jar
      Launcher Type: SUN_STANDARD

      Environment Variables:

      Signal Handlers:
      SIGSEGV: [libjvm.so+0x708f80], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGBUS: [libjvm.so+0x708f80], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGFPE: [libjvm.so+0x5c4100], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGPIPE: [libjvm.so+0x5c4100], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGXFSZ: [libjvm.so+0x5c4100], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGILL: [libjvm.so+0x5c4100], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
      SIGUSR2: [libjvm.so+0x5c70e0], sa_mask[0]=0x00000000, sa_flags=0x10000004
      SIGHUP: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
      SIGINT: [libjvm.so+0x5c6cc0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGTERM: [libjvm.so+0x5c6cc0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
      SIGQUIT: [libjvm.so+0x5c6cc0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004

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

      OS:CentOS release 5.6 (Final)

      uname:Linux 2.6.18-238.12.1.el5 #1 SMP Tue May 31 13:22:04 EDT 2011 x86_64
      libc:glibc 2.5 NPTL 2.5
      rlimit: STACK 10240k, CORE 0k, NPROC 201216, NOFILE 409600, AS infinity
      load average:1.06 0.94 1.02

      MemTotal: 24686744 kB
      MemFree: 20175080 kB
      Buffers: 383016 kB
      Cached: 1422260 kB
      SwapCached: 0 kB
      Active: 1856700 kB
      Inactive: 1384916 kB
      HighTotal: 0 kB
      HighFree: 0 kB
      LowTotal: 24686744 kB
      LowFree: 20175080 kB
      SwapTotal: 12289684 kB
      SwapFree: 12289684 kB
      Dirty: 532 kB
      Writeback: 0 kB
      AnonPages: 1435576 kB
      Mapped: 32520 kB
      Slab: 133048 kB
      PageTables: 12100 kB
      NFS_Unstable: 0 kB
      Bounce: 0 kB
      CommitLimit: 24633056 kB
      Committed_AS: 9438408 kB
      VmallocTotal: 34359738367 kB
      VmallocUsed: 285040 kB
      VmallocChunk: 34359453223 kB
      HugePages_Total: 0
      HugePages_Free: 0
      HugePages_Rsvd: 0
      Hugepagesize: 2048 kB

      CPU:total 8 (4 cores per cpu, 2 threads per core) family 6 model 44 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht

      Memory: 4k page, physical 24686744k(20175048k free), swap 12289684k(12289684k free)

      vm_info: Java HotSpot(TM) Server VM (19.1-b02) for linux-x86 JRE (1.6.0_24-b07), built on Feb 2 2011 16:51:52 by "java_re" with gcc 3.2.1-7a (J2SE release)

      time: Thu Jul 7 14:26:14 2011
      elapsed time: 27 seconds
        • 1. Re: my jvm issue
          I have seen with error message with Java 6 update 23. I believe it has been reported with Java 6 update 26 as well. (found on google)

          You don't appear low on swap space (or even to have started using it)

          The only JVM I have seen this with uses native libraries, is it possible you have a the native library which doesn't manage objects correctly?