1回复
4年前
JVM报错怎么办
求大佬帮忙看看问题在哪
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 43515904 bytes for committing reserved memory.
# 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 (os_linux.cpp:2651), pid=23930, tid=0x00007fe43ed6f700
#
# JRE version: (8.0_161-b14) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.161-b14 mixed mode linux-amd64 compressed oops)
# 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 (0x00007fe438009800): JavaThread "Unknown thread" [_thread_in_vm, id=23931, stack(0x00007fe43ec6f000,0x00007fe43ed70000)]
Stack: [0x00007fe43ec6f000,0x00007fe43ed70000], sp=0x00007fe43ed6e350, free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xa400fd]
V [libjvm.so+0x4dcf69]
V [libjvm.so+0x8acdc3]
V [libjvm.so+0x8ad169]
V [libjvm.so+0x8a70aa]
V [libjvm.so+0x9147cb]
V [libjvm.so+0x904d39]
V [libjvm.so+0x2d0e2e]
V [libjvm.so+0x8ccc97]
V [libjvm.so+0xa0a671]
V [libjvm.so+0xa0b723]
V [libjvm.so+0x608b45]
V [libjvm.so+0x9f1de7]
V [libjvm.so+0x66e191] JNI_CreateJavaVM+0x71
C [libjli.so+0x3557]
C [libpthread.so.0+0x7aa1] start_thread+0xd1
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
Other Threads:
=>0x00007fe438009800 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=23931, stack(0x00007fe43ec6f000,0x00007fe43ed70000)]
VM state:not at safepoint (not fully initialized)
VM Mutex/Monitor currently owned by a thread: None
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Classes redefined (0 events):
No events
Internal exceptions (0 events):
No events
Events (0 events):
No events
Dynamic libraries:
00400000-00401000 r-xp 00000000 fc:01 1051523 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.x86_64/jre/bin/java
00600000-00601000 rw-p 00000000 fc:01 1051523 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.x86_64/jre/bin/java
00fd8000-00ff9000 rw-p 00000000 00:00 0 [heap]
c4980000-eb580000 ---p 00000000 00:00 0
eb580000-eca00000 rw-p 00000000 00:00 0
eca00000-100000000 ---p 00000000 00:00 0
7fe428847000-7fe428991000 ---p 00000000 00:00 0
7fe428991000-7fe42899c000 rw-p 00000000 00:00 0
7fe42899c000-7fe428a37000 ---p 00000000 00:00 0
7fe428a37000-7fe428a42000 rw-p 00000000 00:00 0
7fe428a42000-7fe428df8000 ---p 00000000 00:00 0
7fe428df8000-7fe429068000 rwxp 00000000 00:00 0
7fe429068000-7fe437df8000 ---p 00000000 00:00 0
7fe437df8000-7fe437e00000 r-xp 00000000 fc:01 1051567 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.x86_64/jre/lib/amd64/libzip.so
7fe437e00000-7fe437fff000 ---p 00008000 fc:01 1051567 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.x86_64/jre/lib/amd64/libzip.so
7fe437fff000-7fe438000000 rw-p 00007000 fc:01 1051567 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.x86_64/jre/lib/amd64/libzip.so
7fe438000000-7fe438030000 rw-p 00000000 00:00 0
7fe438030000-7fe43c000000 ---p 00000000 00:00 0
7fe43c058000-7fe43c065000 r-xp 00000000 fc:01 131104 /lib64/libnss_files-2.12.so
7fe43c065000-7fe43c264000 ---p 0000d000 fc:01 131104 /lib64/libnss_files-2.12.so
7fe43c264000-7fe43c265000 r--p 0000c000 fc:01 131104 /lib64/libnss_files-2.12.so
7fe43c265000-7fe43c266000 rw-p 0000d000 fc:01 131104 /lib64/libnss_files-2.12.so
7fe43c266000-7fe43c291000 r-xp 00000000 fc:01 1051549 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.x86_64/jre/lib/amd64/libjava.so
7fe43c291000-7fe43c490000 ---p 0002b000 fc:01 1051549 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.x86_64/jre/lib/amd64/libjava.so
7fe43c490000-7fe43c492000 rw-p 0002a000 fc:01 1051549 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.x86_64/jre/lib/amd64/libjava.so
7fe43c492000-7fe43c4a0000 r-xp 00000000 fc:01 1051566 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.x86_64/jre/lib/amd64/libverify.so
7fe43c4a0000-7fe43c69f000 ---p 0000e000 fc:01 1051566 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.x86_64/jre/lib/amd64/libverify.so
7fe43c69f000-7fe43c6a1000 rw-p 0000d000 fc:01 1051566 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.x86_64/jre/lib/amd64/libverify.so
7fe43c6a1000-7fe43c6a8000 r-xp 00000000 fc:01 131116 /lib64/librt-2.12.so
7fe43c6a8000-7fe43c8a7000 ---p 00007000 fc:01 131116 /lib64/librt-2.12.so
7fe43c8a7000-7fe43c8a8000 r--p 00006000 fc:01 131116 /lib64/librt-2.12.so
7fe43c8a8000-7fe43c8a9000 rw-p 00007000 fc:01 131116 /lib64/librt-2.12.so
7fe43c8a9000-7fe43c8bf000 r-xp 00000000 fc:01 131099 /lib64/libgcc_s-4.4.7-20120601.so.1
7fe43c8bf000-7fe43cabe000 ---p 00016000 fc:01 131099 /lib64/libgcc_s-4.4.7-20120601.so.1
7fe43cabe000-7fe43cabf000 rw-p 00015000 fc:01 131099 /lib64/libgcc_s-4.4.7-20120601.so.1
7fe43cabf000-7fe43cb42000 r-xp 00000000 fc:01 131096 /lib64/libm-2.12.so
7fe43cb42000-7fe43cd41000 ---p 00083000 fc:01 131096 /lib64/libm-2.12.so
7fe43cd41000-7fe43cd42000 r--p 00082000 fc:01 131096 /lib64/libm-2.12.so
7fe43cd42000-7fe43cd43000 rw-p 00083000 fc:01 131096 /lib64/libm-2.12.so
7fe43cd43000-7fe43ce2b000 r-xp 00000000 fc:01 657409 /usr/lib64/libstdc++.so.6.0.13
7fe43ce2b000-7fe43d02b000 ---p 000e8000 fc:01 657409 /usr/lib64/libstdc++.so.6.0.13
7fe43d02b000-7fe43d032000 r--p 000e8000 fc:01 657409 /usr/lib64/libstdc++.so.6.0.13
7fe43d032000-7fe43d034000 rw-p 000ef000 fc:01 657409 /usr/lib64/libstdc++.so.6.0.13
7fe43d034000-7fe43d049000 rw-p 00000000 00:00 0
7fe43d049000-7fe43dc87000 r-xp 00000000 fc:01 1051571 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.x86_64/jre/lib/amd64/server/libjvm.so
7fe43dc87000-7fe43de86000 ---p 00c3e000 fc:01 1051571 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.x86_64/jre/lib/amd64/server/libjvm.so
7fe43de86000-7fe43df55000 rw-p 00c3d000 fc:01 1051571 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.x86_64/jre/lib/amd64/server/libjvm.so
7fe43df55000-7fe43df85000 rw-p 00000000 00:00 0
7fe43df85000-7fe43e10f000 r-xp 00000000 fc:01 131088 /lib64/libc-2.12.so
7fe43e10f000-7fe43e30f000 ---p 0018a000 fc:01 131088 /lib64/libc-2.12.so
7fe43e30f000-7fe43e313000 r--p 0018a000 fc:01 131088 /lib64/libc-2.12.so
7fe43e313000-7fe43e315000 rw-p 0018e000 fc:01 131088 /lib64/libc-2.12.so
7fe43e315000-7fe43e319000 rw-p 00000000 00:00 0
7fe43e319000-7fe43e31b000 r-xp 00000000 fc:01 131094 /lib64/libdl-2.12.so
7fe43e31b000-7fe43e51b000 ---p 00002000 fc:01 131094 /lib64/libdl-2.12.so
7fe43e51b000-7fe43e51c000 r--p 00002000 fc:01 131094 /lib64/libdl-2.12.so
7fe43e51c000-7fe43e51d000 rw-p 00003000 fc:01 131094 /lib64/libdl-2.12.so
7fe43e51d000-7fe43e52b000 r-xp 00000000 fc:01 1051536 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.x86_64/jre/lib/amd64/jli/libjli.so
7fe43e52b000-7fe43e72a000 ---p 0000e000 fc:01 1051536 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.x86_64/jre/lib/amd64/jli/libjli.so
7fe43e72a000-7fe43e72b000 rw-p 0000d000 fc:01 1051536 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-3.b14.el6_9.x86_64/jre/lib/amd64/jli/libjli.so
7fe43e72b000-7fe43e740000 r-xp 00000000 fc:01 131139 /lib64/libz.so.1.2.3
7fe43e740000-7fe43e93f000 ---p 00015000 fc:01 131139 /lib64/libz.so.1.2.3
7fe43e93f000-7fe43e940000 r--p 00014000 fc:01 131139 /lib64/libz.so.1.2.3
7fe43e940000-7fe43e941000 rw-p 00015000 fc:01 131139 /lib64/libz.so.1.2.3
7fe43e941000-7fe43e958000 r-xp 00000000 fc:01 131112 /lib64/libpthread-2.12.so
7fe43e958000-7fe43eb58000 ---p 00017000 fc:01 131112 /lib64/libpthread-2.12.so
7fe43eb58000-7fe43eb59000 r--p 00017000 fc:01 131112 /lib64/libpthread-2.12.so
7fe43eb59000-7fe43eb5a000 rw-p 00018000 fc:01 131112 /lib64/libpthread-2.12.so
7fe43eb5a000-7fe43eb5e000 rw-p 00000000 00:00 0
7fe43eb5e000-7fe43eb7e000 r-xp 00000000 fc:01 131076 /lib64/ld-2.12.so
7fe43ec67000-7fe43ec6f000 rw-s 00000000 fc:01 1188224 /tmp/hsperfdata_root/23930
7fe43ec6f000-7fe43ec72000 ---p 00000000 00:00 0
7fe43ec72000-7fe43ed75000 rw-p 00000000 00:00 0
7fe43ed78000-7fe43ed7c000 rw-p 00000000 00:00 0
7fe43ed7c000-7fe43ed7d000 r--p 00000000 00:00 0
7fe43ed7d000-7fe43ed7e000 rw-p 00000000 00:00 0
7fe43ed7e000-7fe43ed7f000 r--p 00020000 fc:01 131076 /lib64/ld-2.12.so
7fe43ed7f000-7fe43ed80000 rw-p 00021000 fc:01 131076 /lib64/ld-2.12.so
7fe43ed80000-7fe43ed81000 rw-p 00000000 00:00 0
7ffd2b918000-7ffd2ba2d000 rw-p 00000000 00:00 0 [stack]
7ffd2ba56000-7ffd2ba57000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
VM Arguments:
java_command: <unknown>
java_class_path (initial): .
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=/usr/local/git/bin:/usr/local/node/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
SHELL=/bin/bash
Signal Handlers:
SIGSEGV: [libjvm.so+0xa40b20], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGBUS: [libjvm.so+0xa40b20], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGFPE: [libjvm.so+0x8a9710], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGPIPE: [libjvm.so+0x8a9710], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGXFSZ: [libjvm.so+0x8a9710], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGILL: [libjvm.so+0x8a9710], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGUSR1: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGUSR2: [libjvm.so+0x8aae90], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
SIGHUP: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGINT: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGTERM: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGQUIT: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
--------------- S Y S T E M ---------------
OS:CentOS release 6.8 (Final)
uname:Linux 2.6.32-696.6.3.el6.x86_64 #1 SMP Wed Jul 12 14:17:22 UTC 2017 x86_64
libc:glibc 2.12 NPTL 2.12
rlimit: STACK 10240k, CORE 0k, NPROC 15245, NOFILE 65535, AS infinity
load average:0.78 0.37 0.65
/proc/meminfo:
MemTotal: 4056476 kB
MemFree: 93040 kB
Buffers: 5608 kB
Cached: 22820 kB
SwapCached: 0 kB
Active: 3838940 kB
Inactive: 18016 kB
Active(anon): 3827596 kB
Inactive(anon): 1532 kB
Active(file): 11344 kB
Inactive(file): 16484 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 184 kB
Writeback: 0 kB
AnonPages: 3828664 kB
Mapped: 14860 kB
Shmem: 520 kB
Slab: 40736 kB
SReclaimable: 12512 kB
SUnreclaim: 28224 kB
KernelStack: 8832 kB
PageTables: 15860 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 2028236 kB
Committed_AS: 4957140 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 18696 kB
VmallocChunk: 34359715236 kB
HardwareCorrupted: 0 kB
AnonHugePages: 3115008 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 6016 kB
DirectMap2M: 2091008 kB
DirectMap1G: 2097152 kB
CPU:total 2 (initial active 2) (1 cores per cpu, 2 threads per core) family 6 model 85 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, rtm, 3dnowpref, lzcnt, ht, tsc, bmi1, bmi2, adx
/proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz
stepping : 4
microcode : 1
cpu MHz : 2500.014
cache size : 33792 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good unfair_spinlock pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch xsaveopt fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f rdseed adx avx512cd
bogomips : 5000.02
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz
stepping : 4
microcode : 1
cpu MHz : 2500.014
cache size : 33792 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good unfair_spinlock pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch xsaveopt fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f rdseed adx avx512cd
bogomips : 5000.02
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
Memory: 4k page, physical 4056476k(93040k free), swap 0k(0k free)
vm_info: OpenJDK 64-Bit Server VM (25.161-b14) for linux-amd64 JRE (1.8.0_161-b14), built on Jan 18 2018 10:55:10 by "mockbuild" with gcc 4.4.7 20120313 (Red Hat 4.4.7-18)
3244 阅读