mowmisaczek 0 Zgłoś post Napisano Kwiecień 28, 2016 (edytowany) Chciałem postawić na vps serwer minecraft. Jak zainstalowałem jave to nie mogłem . Gdy wpisałem java -version wyskakuje : Java HotSpot 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000080200000, 1431830528, 0) failed; error='Cannot allocate memory' (errno=12) ## There is insufficient memory for the Java Runtime Environment to continue.# Native memory allocation (mmap) failed to map 1431830528 bytes for committing reserved memory.# An error report file with more information is saved as:# /root/hs_err_pid17541.log Oto to znalazłem tutaj /root/hs_err_pid17541.log ## There is insufficient memory for the Java Runtime Environment to continue.# Native memory allocation (mmap) failed to map 1431830528 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:2627), pid=17541, tid=0x00007fb372fa6700## JRE version: (8.0_92-b14) (build )# Java VM: Java HotSpot 64-Bit Server VM (25.92-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 (0x00007fb36c009800): JavaThread "Unknown thread" [_thread_in_vm, id=17542, stack(0x00007fb372ea6000,0x00007fb372fa7000)]Stack: [0x00007fb372ea6000,0x00007fb372fa7000], sp=0x00007fb372fa53c0, free space=1020kNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)V [libjvm.so+0xabd65a] VMError::report_and_die()+0x2baV [libjvm.so+0x4fb4db] report_vm_out_of_memory(char const*, int, unsigned long, VMErrorType, char const*)+0x8bV [libjvm.so+0x91d713] os::Linux::commit_memory_impl(char*, unsigned long, bool)+0x103V [libjvm.so+0x91dc69] os::pd_commit_memory(char*, unsigned long, unsigned long, bool)+0x29V [libjvm.so+0x917f6a] os::commit_memory(char*, unsigned long, unsigned long, bool)+0x2aV [libjvm.so+0x98c343] PSVirtualSpace::expand_by(unsigned long)+0x53V [libjvm.so+0x97c457] PSOldGen::initialize(ReservedSpace, unsigned long, char const*, int)+0xb7V [libjvm.so+0x2d850a] AdjoiningGenerations::AdjoiningGenerations(ReservedSpace, GenerationSizer*, unsigned long)+0x39aV [libjvm.so+0x940ad6] ParallelScavengeHeap::initialize()+0x1d6V [libjvm.so+0xa85f73] Universe::initialize_heap()+0xf3V [libjvm.so+0xa861be] universe_init()+0x3eV [libjvm.so+0x63b115] init_globals()+0x65V [libjvm.so+0xa6a41e] Threads::create_vm(JavaVMInitArgs*, bool*)+0x23eV [libjvm.so+0x6cf994] JNI_CreateJavaVM+0x74C [libjli.so+0x745e] JavaMain+0x9eC [libpthread.so.0+0x80a4] start_thread+0xc4--------------- P R O C E S S ---------------Java Threads: ( => current thread )Other Threads:=>0x00007fb36c009800 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=17542, stack(0x00007fb372ea6000,0x00007fb372fa7000)]VM state:not at safepoint (not fully initialized)VM Mutex/Monitor currently owned by a thread: NoneGC Heap History (0 events):No eventsDeoptimization events (0 events):No eventsInternal exceptions (0 events):No eventsEvents (0 events):No eventsDynamic libraries:00400000-00401000 r-xp 00000000 fd:00 19268563 /usr/lib/jvm/java-8-oracle/jre/bin/java00600000-00601000 rw-p 00000000 fd:00 19268563 /usr/lib/jvm/java-8-oracle/jre/bin/java00f99000-00fba000 rw-p 00000000 00:00 0 [heap]d5780000-580100000 ---p 00000000 00:00 0580100000-5aab80000 rw-p 00000000 00:00 05aab80000-800000000 ---p 00000000 00:00 07fb358dbb000-7fb359040000 rw-p 00000000 00:00 07fb359040000-7fb35b83f000 ---p 00000000 00:00 07fb35b83f000-7fb35b995000 rw-p 00000000 00:00 07fb35b995000-7fb35cc3f000 ---p 00000000 00:00 07fb35cc3f000-7fb35cc4a000 rw-p 00000000 00:00 07fb35cc4a000-7fb35d000000 ---p 00000000 00:00 07fb35d000000-7fb35d270000 rwxp 00000000 00:00 07fb35d270000-7fb36c000000 ---p 00000000 00:00 07fb36c000000-7fb36c031000 rw-p 00000000 00:00 07fb36c031000-7fb370000000 ---p 00000000 00:00 07fb37003c000-7fb370056000 r-xp 00000000 fd:00 19268869 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libzip.so7fb370056000-7fb370256000 ---p 0001a000 fd:00 19268869 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libzip.so7fb370256000-7fb370257000 rw-p 0001a000 fd:00 19268869 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libzip.so7fb370257000-7fb370262000 r-xp 00000000 fd:00 18612520 /lib/x86_64-linux-gnu/libnss_files-2.19.so7fb370262000-7fb370461000 ---p 0000b000 fd:00 18612520 /lib/x86_64-linux-gnu/libnss_files-2.19.so7fb370461000-7fb370462000 r--p 0000a000 fd:00 18612520 /lib/x86_64-linux-gnu/libnss_files-2.19.so7fb370462000-7fb370463000 rw-p 0000b000 fd:00 18612520 /lib/x86_64-linux-gnu/libnss_files-2.19.so7fb370463000-7fb37046d000 r-xp 00000000 fd:00 18612522 /lib/x86_64-linux-gnu/libnss_nis-2.19.so7fb37046d000-7fb37066c000 ---p 0000a000 fd:00 18612522 /lib/x86_64-linux-gnu/libnss_nis-2.19.so7fb37066c000-7fb37066d000 r--p 00009000 fd:00 18612522 /lib/x86_64-linux-gnu/libnss_nis-2.19.so7fb37066d000-7fb37066e000 rw-p 0000a000 fd:00 18612522 /lib/x86_64-linux-gnu/libnss_nis-2.19.so7fb37066e000-7fb370683000 r-xp 00000000 fd:00 18612517 /lib/x86_64-linux-gnu/libnsl-2.19.so7fb370683000-7fb370882000 ---p 00015000 fd:00 18612517 /lib/x86_64-linux-gnu/libnsl-2.19.so7fb370882000-7fb370883000 r--p 00014000 fd:00 18612517 /lib/x86_64-linux-gnu/libnsl-2.19.so7fb370883000-7fb370884000 rw-p 00015000 fd:00 18612517 /lib/x86_64-linux-gnu/libnsl-2.19.so7fb370884000-7fb370886000 rw-p 00000000 00:00 07fb370886000-7fb37088d000 r-xp 00000000 fd:00 18612518 /lib/x86_64-linux-gnu/libnss_compat-2.19.so7fb37088d000-7fb370a8c000 ---p 00007000 fd:00 18612518 /lib/x86_64-linux-gnu/libnss_compat-2.19.so7fb370a8c000-7fb370a8d000 r--p 00006000 fd:00 18612518 /lib/x86_64-linux-gnu/libnss_compat-2.19.so7fb370a8d000-7fb370a8e000 rw-p 00007000 fd:00 18612518 /lib/x86_64-linux-gnu/libnss_compat-2.19.so7fb370a8e000-7fb370ab8000 r-xp 00000000 fd:00 19268864 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjava.so7fb370ab8000-7fb370cb8000 ---p 0002a000 fd:00 19268864 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjava.so7fb370cb8000-7fb370cba000 rw-p 0002a000 fd:00 19268864 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjava.so7fb370cba000-7fb370cc7000 r-xp 00000000 fd:00 19268868 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libverify.so7fb370cc7000-7fb370ec7000 ---p 0000d000 fd:00 19268868 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libverify.so7fb370ec7000-7fb370ec9000 rw-p 0000d000 fd:00 19268868 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libverify.so7fb370ec9000-7fb370ed0000 r-xp 00000000 fd:00 18612526 /lib/x86_64-linux-gnu/librt-2.19.so7fb370ed0000-7fb3710cf000 ---p 00007000 fd:00 18612526 /lib/x86_64-linux-gnu/librt-2.19.so7fb3710cf000-7fb3710d0000 r--p 00006000 fd:00 18612526 /lib/x86_64-linux-gnu/librt-2.19.so7fb3710d0000-7fb3710d1000 rw-p 00007000 fd:00 18612526 /lib/x86_64-linux-gnu/librt-2.19.so7fb3710d1000-7fb3711d1000 r-xp 00000000 fd:00 18612515 /lib/x86_64-linux-gnu/libm-2.19.so7fb3711d1000-7fb3713d0000 ---p 00100000 fd:00 18612515 /lib/x86_64-linux-gnu/libm-2.19.so7fb3713d0000-7fb3713d1000 r--p 000ff000 fd:00 18612515 /lib/x86_64-linux-gnu/libm-2.19.so7fb3713d1000-7fb3713d2000 rw-p 00100000 fd:00 18612515 /lib/x86_64-linux-gnu/libm-2.19.so7fb3713d2000-7fb372095000 r-xp 00000000 fd:00 19268847 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/libjvm.so7fb372095000-7fb372294000 ---p 00cc3000 fd:00 19268847 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/libjvm.so7fb372294000-7fb37236d000 rw-p 00cc2000 fd:00 19268847 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/libjvm.so7fb37236d000-7fb3723b8000 rw-p 00000000 00:00 07fb3723b8000-7fb37255a000 r-xp 00000000 fd:00 18612511 /lib/x86_64-linux-gnu/libc-2.19.so7fb37255a000-7fb372759000 ---p 001a2000 fd:00 18612511 /lib/x86_64-linux-gnu/libc-2.19.so7fb372759000-7fb37275d000 r--p 001a1000 fd:00 18612511 /lib/x86_64-linux-gnu/libc-2.19.so7fb37275d000-7fb37275f000 rw-p 001a5000 fd:00 18612511 /lib/x86_64-linux-gnu/libc-2.19.so7fb37275f000-7fb372763000 rw-p 00000000 00:00 07fb372763000-7fb372766000 r-xp 00000000 fd:00 18612514 /lib/x86_64-linux-gnu/libdl-2.19.so7fb372766000-7fb372965000 ---p 00003000 fd:00 18612514 /lib/x86_64-linux-gnu/libdl-2.19.so7fb372965000-7fb372966000 r--p 00002000 fd:00 18612514 /lib/x86_64-linux-gnu/libdl-2.19.so7fb372966000-7fb372967000 rw-p 00003000 fd:00 18612514 /lib/x86_64-linux-gnu/libdl-2.19.so7fb372967000-7fb37297c000 r-xp 00000000 fd:00 19268842 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/jli/libjli.so7fb37297c000-7fb372b7c000 ---p 00015000 fd:00 19268842 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/jli/libjli.so7fb372b7c000-7fb372b7d000 rw-p 00015000 fd:00 19268842 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/jli/libjli.so7fb372b7d000-7fb372b95000 r-xp 00000000 fd:00 18612507 /lib/x86_64-linux-gnu/libpthread-2.19.so7fb372b95000-7fb372d94000 ---p 00018000 fd:00 18612507 /lib/x86_64-linux-gnu/libpthread-2.19.so7fb372d94000-7fb372d95000 r--p 00017000 fd:00 18612507 /lib/x86_64-linux-gnu/libpthread-2.19.so7fb372d95000-7fb372d96000 rw-p 00018000 fd:00 18612507 /lib/x86_64-linux-gnu/libpthread-2.19.so7fb372d96000-7fb372d9a000 rw-p 00000000 00:00 07fb372d9a000-7fb372dba000 r-xp 00000000 fd:00 18612508 /lib/x86_64-linux-gnu/ld-2.19.so7fb372ea6000-7fb372ea9000 ---p 00000000 00:00 07fb372ea9000-7fb372fac000 rw-p 00000000 00:00 07fb372fac000-7fb372fae000 rw-p 00000000 00:00 07fb372fae000-7fb372fb6000 rw-s 00000000 90:7a 302656901 /tmp/hsperfdata_root/175417fb372fb6000-7fb372fb7000 rw-p 00000000 00:00 07fb372fb7000-7fb372fb8000 r--p 00000000 00:00 07fb372fb8000-7fb372fba000 rw-p 00000000 00:00 07fb372fba000-7fb372fbb000 r--p 00020000 fd:00 18612508 /lib/x86_64-linux-gnu/ld-2.19.so7fb372fbb000-7fb372fbc000 rw-p 00021000 fd:00 18612508 /lib/x86_64-linux-gnu/ld-2.19.so7fb372fbc000-7fb372fbd000 rw-p 00000000 00:00 07ffeef3cc000-7ffeef3e1000 rw-p 00000000 00:00 0 [stack]7ffeef3f8000-7ffeef3fa000 r-xp 00000000 00:00 0 [vdso]ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]VM Arguments:java_command: java_class_path (initial): .Launcher Type: SUN_STANDARDEnvironment Variables:JAVA_HOME=/usr/lib/jvm/java-8-oraclePATH=/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/binSHELL=/bin/bashSignal Handlers:SIGSEGV: [libjvm.so+0xabdee0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFOSIGBUS: [libjvm.so+0xabdee0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFOSIGFPE: [libjvm.so+0x91a580], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFOSIGPIPE: [libjvm.so+0x91a580], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFOSIGXFSZ: [libjvm.so+0x91a580], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFOSIGILL: [libjvm.so+0x91a580], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFOSIGUSR1: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=noneSIGUSR2: [libjvm.so+0x91bbb0], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFOSIGHUP: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=noneSIGINT: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=noneSIGTERM: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=noneSIGQUIT: 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=debianHOME_URL="http://www.debian.org/"SUPPORT_URL="http://www.debian.org/support"BUG_REPORT_URL="https://bugs.debian.org/"uname:Linux 2.6.32-042stab113.11 #1 SMP Fri Dec 18 17:32:04 MSK 2015 x86_64libc:glibc 2.19 NPTL 2.19rlimit: STACK 10240k, CORE 0k, NPROC 127898, NOFILE 65536, AS infinityload average:0.07 0.22 0.15/proc/meminfo:MemTotal: 8589934588 kBMemFree: 8588336540 kBCached: 1433108 kBBuffers: 0 kBActive: 779160 kBInactive: 782460 kBActive(anon): 140980 kBInactive(anon): 157620 kBActive(file): 638180 kBInactive(file): 624840 kBUnevictable: 0 kBMlocked: 0 kBSwapTotal: 0 kBSwapFree: 0 kBDirty: 40 kBWriteback: 0 kBAnonPages: 298600 kBShmem: 170088 kBSlab: 36368 kBSReclaimable: 25256 kBSUnreclaim: 11112 kBCPU:total 12 (6 cores per cpu, 2 threads per core) family 6 model 45 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, ht, tsc, tscinvbit, tscinv/proc/cpuinfo:processor : 0vendor_id : GenuineIntelcpu family : 6model : 45model name : Intel® Xeon® CPU E5-1650 0 @ 3.20GHzstepping : 7microcode : 1802cpu MHz : 3199.947cache size : 12288 KBphysical id : 0siblings : 12core id : 0cpu cores : 6apicid : 0initial apicid : 0fpu : yesfpu_exception : yescpuid level : 13wp : yesflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveoptbogomips : 6399.89clflush size : 64cache_alignment : 64address sizes : 46 bits physical, 48 bits virtualpower management:processor : 1vendor_id : GenuineIntelcpu family : 6model : 45model name : Intel® Xeon® CPU E5-1650 0 @ 3.20GHzstepping : 7microcode : 1802cpu MHz : 3199.947cache size : 12288 KBphysical id : 0siblings : 12core id : 1cpu cores : 6apicid : 2initial apicid : 2fpu : yesfpu_exception : yescpuid level : 13wp : yesflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveoptbogomips : 6399.89clflush size : 64cache_alignment : 64address sizes : 46 bits physical, 48 bits virtualpower management:Memory: 4k page, physical 8589934588k(8588336544k free), swap 0k(0k free)vm_info: Java HotSpot 64-Bit Server VM (25.92-b14) for linux-amd64 JRE (1.8.0_92-b14), built on Mar 31 2016 21:08:29 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)time: Thu Apr 28 12:05:46 2016elapsed time: 0 seconds (0d 0h 0m 0s) Edytowano Kwiecień 28, 2016 przez mowmisaczek (zobacz historię edycji) Udostępnij ten post Link to postu Udostępnij na innych stronach
Vasthi 74 Zgłoś post Napisano Kwiecień 28, 2016 Ile posiadasz na serwerze pamięci ram? Albo podaj co pokazuje komenda free. Udostępnij ten post Link to postu Udostępnij na innych stronach
mowmisaczek 0 Zgłoś post Napisano Kwiecień 28, 2016 total used free shared buffers cached Mem: 8589934588 1596120 8588338468 172644 0 1437320 -/+ buffers/cache: 158800 8589775788 Swap: 0 0 0 Udostępnij ten post Link to postu Udostępnij na innych stronach