轮小空lun_kong
latest.log (57.37 KB, 下载次数: 2)

paper 1.15.2
加载到了一半就不再加载了

strings
内存不足,多分配点

轮小空lun_kong
もぺもぺ 发表于 2021-2-22 19:03
内存不足,多分配点
  1. [19:17:15 FATAL]: Failed to read chunk data for task: Task for world: 'zcsj' at -4,-3 poi: false, hash: 22409618
  2. >java.lang.OutOfMemoryError: Java heap space
  3. at net.minecraft.server.v1_15_R1.NBTTagLongArray$1.b(SourceFile:30) ~[patched_1.15.2.jar:git-Paper-391]
  4. at net.minecraft.server.v1_15_R1.NBTTagLongArray$1.b(SourceFile:23) ~[patched_1.15.2.jar:git-Paper-391]
  5. at net.minecraft.server.v1_15_R1.NBTTagCompound.b(NBTTagCompound.java:444) ~[patched_1.15.2.jar:git-Paper-391]
  6. at net.minecraft.server.v1_15_R1.NBTTagCompound.access$200(NBTTagCompound.java:23) ~[patched_1.15.2.jar:git-Paper-391]
  7. at net.minecraft.server.v1_15_R1.NBTTagCompound$1.b(NBTTagCompound.java:42) ~[patched_1.15.2.jar:git-Paper-391]
  8. at net.minecraft.server.v1_15_R1.NBTTagCompound$1.b(NBTTagCompound.java:27) ~[patched_1.15.2.jar:git-Paper-391]
  9. at net.minecraft.server.v1_15_R1.NBTTagCompound.b(NBTTagCompound.java:444) ~[patched_1.15.2.jar:git-Paper-391]
  10. at net.minecraft.server.v1_15_R1.NBTTagCompound.access$200(NBTTagCompound.java:23) ~[patched_1.15.2.jar:git-Paper-391]
  11. at net.minecraft.server.v1_15_R1.NBTTagCompound$1.b(NBTTagCompound.java:42) ~[patched_1.15.2.jar:git-Paper-391]
  12. at net.minecraft.server.v1_15_R1.NBTTagCompound$1.b(NBTTagCompound.java:27) ~[patched_1.15.2.jar:git-Paper-391]
  13. at net.minecraft.server.v1_15_R1.NBTTagCompound.b(NBTTagCompound.java:444) ~[patched_1.15.2.jar:git-Paper-391]
  14. at net.minecraft.server.v1_15_R1.NBTTagCompound.access$200(NBTTagCompound.java:23) ~[patched_1.15.2.jar:git-Paper-391]
  15. at net.minecraft.server.v1_15_R1.NBTTagCompound$1.b(NBTTagCompound.java:42) ~[patched_1.15.2.jar:git-Paper-391]
  16. at net.minecraft.server.v1_15_R1.NBTTagCompound$1.b(NBTTagCompound.java:27) ~[patched_1.15.2.jar:git-Paper-391]
  17. at net.minecraft.server.v1_15_R1.NBTCompressedStreamTools.a(NBTCompressedStreamTools.java:117) ~[patched_1.15.2.jar:git-Paper-391]
  18. at net.minecraft.server.v1_15_R1.NBTCompressedStreamTools.a(NBTCompressedStreamTools.java:86) ~[patched_1.15.2.jar:git-Paper-391]
  19. at net.minecraft.server.v1_15_R1.NBTCompressedStreamTools.a(NBTCompressedStreamTools.java:76) ~[patched_1.15.2.jar:git-Paper-391]
  20. at net.minecraft.server.v1_15_R1.RegionFileCache.read(RegionFileCache.java:159) ~[patched_1.15.2.jar:git-Paper-391]
  21. at net.minecraft.server.v1_15_R1.PlayerChunkMap.read(PlayerChunkMap.java:1579) ~[patched_1.15.2.jar:git-Paper-391]
  22. at net.minecraft.server.v1_15_R1.WorldServer$2.readData(WorldServer.java:149) ~[patched_1.15.2.jar:git-Paper-391]
  23. at com.destroystokyo.paper.io.PaperFileIOThread$ChunkDataTask.run(PaperFileIOThread.java:509) ~[patched_1.15.2.jar:git-Paper-391]
  24. at com.destroystokyo.paper.io.QueueExecutorThread.pollTasks(QueueExecutorThread.java:105) ~[patched_1.15.2.jar:git-Paper-391]
  25. at com.destroystokyo.paper.io.QueueExecutorThread.run(QueueExecutorThread.java:38) ~[patched_1.15.2.jar:git-Paper-391]
  26. [19:17:15 WARN]: Exception in thread "Timer-0" Exception in thread "Timer-1" java.lang.OutOfMemoryError: Java heap space
  27. [19:17:15 WARN]:  at java.lang.String.replace(Unknown Source)
  28. [19:17:15 WARN]:  at java.net.URLClassLoader$1.run(Unknown Source)
  29. [19:17:15 WARN]:  at java.net.URLClassLoader$1.run(Unknown Source)
  30. [19:17:15 WARN]:  at java.security.AccessController.doPrivileged(Native Method)
  31. [19:17:17 WARN]:  at java.net.URLClassLoader.findClass(Unknown Source)
  32. [19:17:17 WARN]:  at java.lang.ClassLoader.loadClass(Unknown Source)
  33. [19:17:17 WARN]:  at java.lang.ClassLoader.loadClass(Unknown Source)
  34. [19:17:17 WARN]:  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
  35. [19:17:17 WARN]:  at java.lang.ClassLoader.loadClass(Unknown Source)
复制代码



strings

当然你电脑里没有这么多空余的内存,分配多了也没用。

任务管理器中可以看到空余内存的

strings
java -Xmx3g -Xms3g -jar minecraft_server.jar

这样

轮小空lun_kong
もぺもぺ 发表于 2021-2-22 19:25
java -Xmx3g -Xms3g -jar minecraft_server.jar

这样
  1. Error: Could not create the Java Virtual Machine.
  2. Error: A fatal exception has occurred. Program will exit.
  3. Invalid maximum heap size: -Xmx-Xmx3g -Xms3g
复制代码



strings

你怎么改的,是

java -Xmx3g -Xms3g -jar minecraft_server.jar

不要有其他的东西

strings

那修改分配的内存,然后如果还无法启动,就上传完整的 log,不要只给我看一部分了

轮小空lun_kong
もぺもぺ 发表于 2021-2-22 19:33
那修改分配的内存,然后如果还无法启动,就上传完整的 log,不要只给我看一部分了 ...

latest.log (57.37 KB, 下载次数: 1)
而且一换上3G他就立刻改回去

strings
轮小空lun_kong 发表于 2021-2-22 19:49
而且一换上3G他就立刻改回去

建议直接用一个 bat 来启动服务器

第一页 上一页 下一页 最后一页