Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8158387

G1: native memory allocation (mmap) failed to map 2G

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 9
    • 9
    • hotspot
    • gc
    • Verified

    Description

      # Native memory allocation (mmap) failed to map 2147483648 bytes for committing reserved memory.

      # Out of Memory Error (/opt/jprt/T/P1/220252.iignatye/s/hotspot/src/os/linux/vm/os_linux.cpp:2656), pid=3169, tid=3310
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0) (fastdebug build 9-internal+0-2016-05-30-220252.iignatye.8154123-8152376)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 9-internal+0-2016-05-30-220252.iignatye.8154123-8152376, compiled mode, tiered, g1 gc, linux-amd64)

      --------------- S U M M A R Y ------------

      Command Line: -Xcomp -XX:+TieredCompilation -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:-DoEscapeAnalysis -XX:+AggressiveOpts -Djava.net.preferIPv6Addresses=true -Xmx129243M -XX:-PrintVMOptions -XX:+DisplayVMOutputToStderr -XX:+UsePerfData -Xlog:gc*:gc.log -XX:+DisableExplicitGC -XX:+PrintFlagsFinal -XX:+StartAttachListener -XX:+UnlockCommercialFeatures -XX:NativeMemoryTracking=detail -XX:+ResourceManagement -Djava.io.tmpdir=/export/local/aurora/sandbox/results/kitchensink/tmp/java.io.tmpdir -Duser.home=/export/local/aurora/sandbox/results/kitchensink/tmp/user.home jrockit.qa.stress.kitchensink.process.stress.Main /scratch/local/aurora/sandbox/results/kitchensink/kitchensink.final.properties

      Host: slcak933, Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz, 32 cores, 252G, Oracle Linux Server release 6.3
      Time: Tue May 31 04:20:23 2016 UTC elapsed time: 244 seconds (0d 0h 4m 4s)

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

      Current thread (0x00007fede03e7800): VMThread "VM Thread" [stack: 0x00007fcc39848000,0x00007fcc39949000] [id=3310]

      V [libjvm.so+0xa57c58] report_vm_out_of_memory(char const*, int, unsigned long, VMErrorType, char const*, ...)+0xd8
      V [libjvm.so+0x131f6a1] os::pd_commit_memory_or_exit(char*, unsigned long, unsigned long, bool, char const*)+0x111
      V [libjvm.so+0x13164ad] os::commit_memory_or_exit(char*, unsigned long, unsigned long, bool, char const*)+0x1d
      V [libjvm.so+0xc4ee68] G1PageBasedVirtualSpace::commit_preferred_pages(unsigned long, unsigned long)+0x78
      V [libjvm.so+0xc4f2ee] G1PageBasedVirtualSpace::commit(unsigned long, unsigned long)+0x17e
      V [libjvm.so+0xc5beb2] G1RegionsLargerThanCommitSizeMapper::commit_regions(unsigned int, unsigned long)+0x32
      V [libjvm.so+0xd4deb8] HeapRegionManager::commit_regions(unsigned int, unsigned long)+0x78
      V [libjvm.so+0xd4f79e] HeapRegionManager::make_regions_available(unsigned int, unsigned int)+0x2e
      V [libjvm.so+0xd514b4] HeapRegionManager::expand_by(unsigned int)+0x64
      V [libjvm.so+0xbdc54e] G1CollectedHeap::expand(unsigned long, double*)+0xde
      V [libjvm.so+0xbe5c16] G1CollectedHeap::do_collection_pause_at_safepoint(double)+0x1536
      V [libjvm.so+0x16c2577] VM_G1IncCollectionPause::doit()+0xd7
      V [libjvm.so+0x16bfb79] VM_Operation::evaluate()+0xa9
      V [libjvm.so+0x16ba93f] VMThread::evaluate_operation(VM_Operation*)+0x15f
      V [libjvm.so+0x16bb309] VMThread::loop()+0x269
      V [libjvm.so+0x16bb9b0] VMThread::run()+0xc0
      V [libjvm.so+0x13278c2] thread_native_entry(Thread*)+0x112

      VM_Operation (0x00007fcaa1edf260): G1IncCollectionPause, mode: safepoint, requested by thread 0x00007fcb801e5000

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

      OS:Oracle Linux Server release 6.3
      uname:Linux slcak933 2.6.39-300.20.1.el6uek.x86_64 #1 SMP Mon Nov 12 04:30:55 PST 2012 x86_64
      libc:glibc 2.12 NPTL 2.12
      rlimit: STACK 8192k, CORE infinity, NPROC 2067153, NOFILE 4096, AS infinity
      load average:3.93 3.10 2.74

      /proc/meminfo:
      MemTotal: 264689712 kB
      MemFree: 202475216 kB
      Buffers: 2256232 kB
      Cached: 8752956 kB
      SwapCached: 0 kB
      Active: 50608280 kB
      Inactive: 7060952 kB
      Active(anon): 46660768 kB
      Inactive(anon): 0 kB
      Active(file): 3947512 kB
      Inactive(file): 7060952 kB
      Unevictable: 0 kB
      Mlocked: 0 kB
      SwapTotal: 12385260 kB
      SwapFree: 12385260 kB
      Dirty: 13984 kB
      Writeback: 0 kB
      AnonPages: 46666788 kB
      Mapped: 60604 kB
      Shmem: 236 kB
      Slab: 1646504 kB
      SReclaimable: 1538688 kB
      SUnreclaim: 107816 kB
      KernelStack: 10032 kB
      PageTables: 104924 kB
      NFS_Unstable: 0 kB
      Bounce: 0 kB
      WritebackTmp: 0 kB
      CommitLimit: 144730116 kB
      Committed_AS: 139468528 kB
      VmallocTotal: 34359738367 kB
      VmallocUsed: 693392 kB
      VmallocChunk: 34359018808 kB
      HardwareCorrupted: 0 kB
      AnonHugePages: 44990464 kB
      HugePages_Total: 0
      HugePages_Free: 0
      HugePages_Rsvd: 0
      HugePages_Surp: 0
      Hugepagesize: 2048 kB
      DirectMap4k: 6144 kB
      DirectMap2M: 2082816 kB
      DirectMap1G: 266338304 kB

      Attachments

        Activity

          People

            vmissing Vitaly Missing (Inactive)
            vlivanov Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: