既然出现了这些
如何去解决呢?
分配更少的内存,你的空余内存不足了。
もぺもぺ 发表于 2021-7-23 23:01
分配更少的内存,你的空余内存不足了。
从哪看出来的...
longye1234 发表于 2021-7-23 23:02
从哪看出来的...
- #
 
- # There is insufficient memory for the Java Runtime Environment to continue.
 
- # Native memory allocation (mmap) failed to map 10737418240 bytes for G1 virtual space
 
- # Possible reasons:
 
- #   The system is out of physical RAM or swap space
 
- #   The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
 
- # Possible solutions:
 
- #   Reduce memory load on the system
 
- #   Increase physical memory or swap space
 
- #   Check if swap backing store is full
 
- #   Decrease Java heap size (-Xmx/-Xms)
 
- #   Decrease number of Java threads
 
- #   Decrease Java thread stack sizes (-Xss)
 
- #   Set larger code cache with -XX:ReservedCodeCacheSize=
 
- #   JVM is running with Zero Based Compressed Oops mode in which the Java heap is
 
- #     placed in the first 32GB address space. The Java Heap base address is the
 
- #     maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
 
- #     to set the Java Heap base and to place the Java Heap above 32GB virtual address.
 
- # This output file may be truncated or incomplete.
 
- #
 
- #  Out of Memory Error (os_windows.cpp:3466), pid=400, tid=924
 
- #
@echo OFF
:head
java -Xmx10G -Xms10G -jar PaperSpigot.jar nogui
goto head
这是我的启动脚本 需要改动什么么?
把10G变成12G?
内存不足?可是服务器没人啊....我晕了
longye1234 发表于 2021-7-23 23:05
@echo OFF
:head
java -Xmx10G -Xms10G -jar PaperSpigot.jar nogui
分配更少的内存,你的空余内存不足了。
longye1234 发表于 2021-7-23 23:05
@echo OFF
:head
java -Xmx10G -Xms10G -jar PaperSpigot.jar nogui
两个10G改4G
Qingraw 发表于 2021-7-23 23:09
两个10G改4G
1.16.5的服 会不会不够用.....
longye1234 发表于 2021-7-23 23:11
1.16.5的服 会不会不够用.....
哪会不够用,我觉得4GB带30人都行
longye1234 发表于 2021-7-23 23:14
好的 收到 我试试
我在联机问答还提了一个问题 不能pvp的
您可以帮我看一下么
服务端根目录server.properties文件pvp=true看下有没有设置true
Qingraw 发表于 2021-7-23 23:16
服务端根目录server.properties文件pvp=true看下有没有设置true
设置了 是没有问题的
Lake_DADA 发表于 2021-7-23 23:45
把你的启动内存改为512MB
@echo OFF
:head
已经解决了 谢谢 我还问了一个服务器不能pvp的问题你可以去看下嘛 我把ESS都卸了 然并卵