Crash serwera Minecraft - “There is insufficient memory for the Java Runtime…”

Zombie
minecraft
Glenor
Glenor

Pomoże ktoś niewiem co jest grane ?

There is insufficient memory for the Java Runtime Environment to continue.

Native memory allocation (mmap) failed to map 715784192 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:2640), pid=17418, tid=0x00007f8a45f3e700

JRE version: (8.0_171-b11) (build )

Java VM: Java HotSpot(TM) 64-Bit Server VM (25.171-b11 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 (0x00007f8a4000a800): JavaThread "Unknown thread" [_thread_in_vm, id=17419, stack(0x00007f8a45e3e000,0x00007f8a45f3f000)]

Stack: [0x00007f8a45e3e000,0x00007f8a45f3f000], sp=0x00007f8a45f3d430, free space=1021k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0xacfffa] VMError::report_and_die()+0x2ba V [libjvm.so+0x5005cb] report_vm_out_of_memory(char const*, int, unsigned long, VMErrorType, char const*)+0x8b V [libjvm.so+0x92dd93] os::Linux::commit_memory_impl(char*, unsigned long, bool)+0x123 V [libjvm.so+0x92dfb9] os::pd_commit_memory(char*, unsigned long, unsigned long, bool)+0x29 V [libjvm.so+0x92527a] os::commit_memory(char*, unsigned long, unsigned long, bool)+0x2a V [libjvm.so+0xacbcd9] VirtualSpace::expand_by(unsigned long, bool)+0x199 V [libjvm.so+0xacc82e] VirtualSpace::initialize(ReservedSpace, unsigned long)+0xee V [libjvm.so+0x5fe7ed] Generation::Generation(ReservedSpace, unsigned long, int)+0xbd V [libjvm.so+0x505756] DefNewGeneration::DefNewGeneration(ReservedSpace, unsigned long, int, char const*)+0x46 V [libjvm.so+0x5fff85] GenerationSpec::init(ReservedSpace, int, GenRemSet*)+0x275 V [libjvm.so+0x5eebde] GenCollectedHeap::initialize()+0x1de V [libjvm.so+0xa98033] Universe::initialize_heap()+0xf3 V [libjvm.so+0xa9859e] universe_init()+0x3e V [libjvm.so+0x642105] init_globals()+0x65 V [libjvm.so+0xa7cd4e] Threads::create_vm(JavaVMInitArgs*, bool*)+0x23e V [libjvm.so+0x6d6e44] JNI_CreateJavaVM+0x74 C [libjli.so+0x797e] JavaMain+0x9e C [libpthread.so.0+0x8064] start_thread+0xc4

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

Java Threads: ( => current thread )

Other Threads:

=>0x00007f8a4000a800 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=17419, stack(0x00007f8a45e3e000,0x00007f8a45f3f000)]

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 08:01 385692 /usr/lib/jvm/java-8-oracle/jre/bin/java 00600000-00601000 rw-p 00000000 08:01 385692 /usr/lib/jvm/java-8-oracle/jre/bin/java 009f2000-00a13000 rw-p 00000000 00:00 0 [heap] aaaa0000-100000000 ---p 00000000 00:00 0 7f8a2f521000-7f8a2f7a9000 rw-p 00000000 00:00 0 7f8a2f7a9000-7f8a2fba9000 ---p 00000000 00:00 0 7f8a2fba9000-7f8a2fbb4000 rw-p 00000000 00:00 0 7f8a2fbb4000-7f8a2ff6a000 ---p 00000000 00:00 0 7f8a2ff6a000-7f8a301da000 rwxp 00000000 00:00 0 7f8a301da000-7f8a3ef6a000 ---p 00000000 00:00 0 7f8a3ef6a000-7f8a3ef85000 r-xp 00000000 08:01 386004 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libzip.so 7f8a3ef85000-7f8a3f185000 ---p 0001b000 08:01 386004 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libzip.so 7f8a3f185000-7f8a3f186000 rw-p 0001b000 08:01 386004 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libzip.so 7f8a3f186000-7f8a3f191000 r-xp 00000000 08:01 8229 /lib/x86_64-linux-gnu/libnss_files-2.19.so 7f8a3f191000-7f8a3f390000 ---p 0000b000 08:01 8229 /lib/x86_64-linux-gnu/libnss_files-2.19.so 7f8a3f390000-7f8a3f391000 r--p 0000a000 08:01 8229 /lib/x86_64-linux-gnu/libnss_files-2.19.so 7f8a3f391000-7f8a3f392000 rw-p 0000b000 08:01 8229 /lib/x86_64-linux-gnu/libnss_files-2.19.so 7f8a3f392000-7f8a3f39c000 r-xp 00000000 08:01 8231 /lib/x86_64-linux-gnu/libnss_nis-2.19.so 7f8a3f39c000-7f8a3f59b000 ---p 0000a000 08:01 8231 /lib/x86_64-linux-gnu/libnss_nis-2.19.so 7f8a3f59b000-7f8a3f59c000 r--p 00009000 08:01 8231 /lib/x86_64-linux-gnu/libnss_nis-2.19.so 7f8a3f59c000-7f8a3f59d000 rw-p 0000a000 08:01 8231 /lib/x86_64-linux-gnu/libnss_nis-2.19.so 7f8a3f59d000-7f8a3f5b2000 r-xp 00000000 08:01 8226 /lib/x86_64-linux-gnu/libnsl-2.19.so 7f8a3f5b2000-7f8a3f7b1000 ---p 00015000 08:01 8226 /lib/x86_64-linux-gnu/libnsl-2.19.so 7f8a3f7b1000-7f8a3f7b2000 r--p 00014000 08:01 8226 /lib/x86_64-linux-gnu/libnsl-2.19.so 7f8a3f7b2000-7f8a3f7b3000 rw-p 00015000 08:01 8226 /lib/x86_64-linux-gnu/libnsl-2.19.so 7f8a3f7b3000-7f8a3f7b5000 rw-p 00000000 00:00 0 7f8a3f7b5000-7f8a3f7bc000 r-xp 00000000 08:01 8227 /lib/x86_64-linux-gnu/libnss_compat-2.19.so 7f8a3f7bc000-7f8a3f9bb000 ---p 00007000 08:01 8227 /lib/x86_64-linux-gnu/libnss_compat-2.19.so 7f8a3f9bb000-7f8a3f9bc000 r--p 00006000 08:01 8227 /lib/x86_64-linux-gnu/libnss_compat-2.19.so 7f8a3f9bc000-7f8a3f9bd000 rw-p 00007000 08:01 8227 /lib/x86_64-linux-gnu/libnss_compat-2.19.so 7f8a3f9bd000-7f8a3f9e8000 r-xp 00000000 08:01 385998 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjava.so 7f8a3f9e8000-7f8a3fbe7000 ---p 0002b000 08:01 385998 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjava.so 7f8a3fbe7000-7f8a3fbe9000 rw-p 0002a000 08:01 385998 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjava.so 7f8a3fbe9000-7f8a3fbf6000 r-xp 00000000 08:01 386003 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libverify.so 7f8a3fbf6000-7f8a3fdf6000 ---p 0000d000 08:01 386003 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libverify.so 7f8a3fdf6000-7f8a3fdf8000 rw-p 0000d000 08:01 386003 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libverify.so 7f8a3fdf8000-7f8a3fdff000 r-xp 00000000 08:01 8235 /lib/x86_64-linux-gnu/librt-2.19.so 7f8a3fdff000-7f8a3fffe000 ---p 00007000 08:01 8235 /lib/x86_64-linux-gnu/librt-2.19.so 7f8a3fffe000-7f8a3ffff000 r--p 00006000 08:01 8235 /lib/x86_64-linux-gnu/librt-2.19.so 7f8a3ffff000-7f8a40000000 rw-p 00007000 08:01 8235 /lib/x86_64-linux-gnu/librt-2.19.so 7f8a40000000-7f8a40032000 rw-p 00000000 00:00 0 7f8a40032000-7f8a44000000 ---p 00000000 00:00 0 7f8a4404a000-7f8a4414a000 r-xp 00000000 08:01 8224 /lib/x86_64-linux-gnu/libm-2.19.so 7f8a4414a000-7f8a44349000 ---p 00100000 08:01 8224 /lib/x86_64-linux-gnu/libm-2.19.so 7f8a44349000-7f8a4434a000 r--p 000ff000 08:01 8224 /lib/x86_64-linux-gnu/libm-2.19.so 7f8a4434a000-7f8a4434b000 rw-p 00100000 08:01 8224 /lib/x86_64-linux-gnu/libm-2.19.so 7f8a4434b000-7f8a45024000 r-xp 00000000 08:01 386026 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/libjvm.so 7f8a45024000-7f8a45223000 ---p 00cd9000 08:01 386026 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/libjvm.so 7f8a45223000-7f8a452fd000 rw-p 00cd8000 08:01 386026 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/libjvm.so 7f8a452fd000-7f8a45348000 rw-p 00000000 00:00 0 7f8a45348000-7f8a454e9000 r-xp 00000000 08:01 8220 /lib/x86_64-linux-gnu/libc-2.19.so 7f8a454e9000-7f8a456e9000 ---p 001a1000 08:01 8220 /lib/x86_64-linux-gnu/libc-2.19.so 7f8a456e9000-7f8a456ed000 r--p 001a1000 08:01 8220 /lib/x86_64-linux-gnu/libc-2.19.so 7f8a456ed000-7f8a456ef000 rw-p 001a5000 08:01 8220 /lib/x86_64-linux-gnu/libc-2.19.so 7f8a456ef000-7f8a456f3000 rw-p 00000000 00:00 0 7f8a456f3000-7f8a456f6000 r-xp 00000000 08:01 8223 /lib/x86_64-linux-gnu/libdl-2.19.so 7f8a456f6000-7f8a458f5000 ---p 00003000 08:01 8223 /lib/x86_64-linux-gnu/libdl-2.19.so 7f8a458f5000-7f8a458f6000 r--p 00002000 08:01 8223 /lib/x86_64-linux-gnu/libdl-2.19.so 7f8a458f6000-7f8a458f7000 rw-p 00003000 08:01 8223 /lib/x86_64-linux-gnu/libdl-2.19.so 7f8a458f7000-7f8a4590d000 r-xp 00000000 08:01 386022 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/jli/libjli.so 7f8a4590d000-7f8a45b0c000 ---p 00016000 08:01 386022 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/jli/libjli.so 7f8a45b0c000-7f8a45b0d000 rw-p 00015000 08:01 386022 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/jli/libjli.so 7f8a45b0d000-7f8a45b25000 r-xp 00000000 08:01 8216 /lib/x86_64-linux-gnu/libpthread-2.19.so 7f8a45b25000-7f8a45d24000 ---p 00018000 08:01 8216 /lib/x86_64-linux-gnu/libpthread-2.19.so 7f8a45d24000-7f8a45d25000 r--p 00017000 08:01 8216 /lib/x86_64-linux-gnu/libpthread-2.19.so 7f8a45d25000-7f8a45d26000 rw-p 00018000 08:01 8216 /lib/x86_64-linux-gnu/libpthread-2.19.so 7f8a45d26000-7f8a45d2a000 rw-p 00000000 00:00 0 7f8a45d2a000-7f8a45d4b000 r-xp 00000000 08:01 8217 /lib/x86_64-linux-gnu/ld-2.19.so 7f8a45e36000-7f8a45e3e000 rw-s 00000000 08:01 261707 /tmp/hsperfdata_root/17418 7f8a45e3e000-7f8a45e41000 ---p 00000000 00:00 0 7f8a45e41000-7f8a45f44000 rw-p 00000000 00:00 0 [stack:17419] 7f8a45f44000-7f8a45f47000 rw-p 00000000 00:00 0 7f8a45f47000-7f8a45f48000 r--p 00000000 00:00 0 7f8a45f48000-7f8a45f4a000 rw-p 00000000 00:00 0 7f8a45f4a000-7f8a45f4b000 r--p 00020000 08:01 8217 /lib/x86_64-linux-gnu/ld-2.19.so 7f8a45f4b000-7f8a45f4c000 rw-p 00021000 08:01 8217 /lib/x86_64-linux-gnu/ld-2.19.so 7f8a45f4c000-7f8a45f4d000 rw-p 00000000 00:00 0 7ffde336d000-7ffde338e000 rw-p 00000000 00:00 0 [stack] 7ffde33a7000-7ffde33aa000 r--p 00000000 00:00 0 [vvar] 7ffde33aa000-7ffde33ac000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]

VM Arguments: jvm_args: -Xms2048M -Xmx2048M java_command: spigot188.jar java_class_path (initial): spigot188.jar Launcher Type: SUN_STANDARD

Environment Variables: JAVA_HOME=/usr/lib/jvm/java-8-oracle PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin SHELL=/bin/bash

Signal Handlers: SIGSEGV: [libjvm.so+0xad0890], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO SIGBUS: [libjvm.so+0xad0890], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO SIGFPE: [libjvm.so+0x928640], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO SIGPIPE: [libjvm.so+0x928640], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO SIGXFSZ: [libjvm.so+0x928640], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO SIGILL: [libjvm.so+0x928640], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO SIGUSR1: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none SIGUSR2: [libjvm.so+0x929ea0], sa_mask[0]=00100000000000000000000000000000, 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:PRETTY_NAME="Debian GNU/Linux 8 (jessie)" NAME="Debian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"

uname:Linux 3.16.0-6-amd64 #1 SMP Debian 3.16.56-1+deb8u1 (2018-05-08) x86_64 libc:glibc 2.19 NPTL 2.19 rlimit: STACK 8192k, CORE 0k, NPROC 7778, NOFILE 65536, AS infinity load average:0.25 0.24 0.25

/proc/meminfo: MemTotal: 2009152 kB MemFree: 189640 kB MemAvailable: 259408 kB Buffers: 8056 kB Cached: 229276 kB SwapCached: 0 kB Active: 1619104 kB Inactive: 141692 kB Active(anon): 1528916 kB Inactive(anon): 55588 kB Active(file): 90188 kB Inactive(file): 86104 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 1696 kB Writeback: 0 kB AnonPages: 1523528 kB Mapped: 59292 kB Shmem: 60976 kB Slab: 25704 kB SReclaimable: 12200 kB SUnreclaim: 13504 kB KernelStack: 2528 kB PageTables: 9868 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 1004576 kB Committed_AS: 2974496 kB VmallocTotal: 34359738367 kB VmallocUsed: 11784 kB VmallocChunk: 34359720252 kB HardwareCorrupted: 0 kB AnonHugePages: 4096 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB DirectMap4k: 55152 kB DirectMap2M: 1992704 kB DirectMap1G: 0 kB

CPU:total 1 (initial active 1) (1 cores per cpu, 1 threads per core) family 6 model 60 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, lzcnt, tsc, bmi1, bmi2

/proc/cpuinfo: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel Core Processor (Haswell, no TSX, IBRS) stepping : 1 microcode : 0x1 cpu MHz : 2399.988 cache size : 4096 KB physical id : 0 siblings : 1 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 syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm arat xsaveopt invpcid_single tpr_shadow vnmi flexpriority ept vpid fsgsbase bmi1 avx2 smep bmi2 erms invpcid bogomips : 4799.97 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management:

Memory: 4k page, physical 2009152k(189640k free), swap 0k(0k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (25.171-b11) for linux-amd64 JRE (1.8.0_171-b11), built on Mar 28 2018 17:07:08 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)

time: Tue Jul 17 15:05:54 2018 elapsed time: 0 seconds (0d 0h 0m 0s)

DBanaszewski
DBanaszewski α-tester v3

Glenor:

There is insufficient memory for the Java Runtime Environment to continue.

Glenor:

Out of Memory Error

:man_shrugging: Wystarczy przetłumaczyć 😄

Serwer potrzebuje więcej RAMu, jeżeli VPS to możesz zwiększyć pakiet/przypisać więcej RAMu (lub zmienić system, jeżeli masz 32bitowy i wtedy przypisać więcej RAMu), jeżeli hosting MC to poproś o zwiększenie pakietu.

PS. Następnym razem logi crashów umieszczaj na jakimś serwisie typu pastebin.com

Glenor
Glenor

Dzięki :D czyli 2 GB to jednak za mało szkoda xD bo to takie testowe

DBanaszewski
DBanaszewski α-tester v3

Jeżeli dosyć dużo ciężkich pluginów lub jakieś skrypty to 2GB to całkiem mało :P

Nieznajomy11
Nieznajomy11 Moderator forum.lvlup.pro

A jeśli jednak VPS to może przydzieliłeś więcej pamięci ram niż masz. Mogłeś się pomylić czy coś i zamiast -Xms128M użyć -Xms128G.

Glenor
Glenor

okej czaje

Patbox
Patbox

2GB jest okej.

In 32 bit mode, the process size limit was hit

Spróbuj zainstalować 64 bitową javę. Jeśli masz 64 bitowy system.

Glenor
Glenor

mógłby mi ktoś podesłać skrypt na odpalenie serwera :D na 2GB z nazwą screena ?

Nieznajomy11
Nieznajomy11 Moderator forum.lvlup.pro

Java VM: Java HotSpot™ 64-Bit Server VM (25.171-b11 mixed mode linux-amd64 compressed oops)

Przecież ma 64-bit.

Glenor
Glenor

A dasz linka do 64 bit javy ? wydaję mi się że jest 64-bitowa jak to sprawdzić 😃

DBanaszewski
DBanaszewski α-tester v3

Używane było: 1619,104 MB A przypisane było 2009,152 MB

DBanaszewski
DBanaszewski α-tester v3

https://lvlup.rok.ovh/t/instalacja-java-8-na-vpsie-debian-ubuntu/2513 Domyślnie tylko Java 64bitowa =) BTW Przecież masz 64 bitową, ale masz =) Pytasz się = masz odpowiedź =)

DBanaszewski
DBanaszewski α-tester v3

screen -S NAZWA_SCREENA java -server -Xmx3G -Xms3G -jar silnik.jar Tu masz na 3GB RAMu, customizacja jest dozwolona =)

system
system

Ten temat został automatycznie zamknięty 32 dni po ostatnim wpisie. Tworzenie nowych odpowiedzi nie jest już możliwe.