An-Sar / PrimalCore

Official Wiki, Issue Tracking, Localization
12 stars 7 forks source link

Thread Lock with primal core when exploring the nether #371

Open Column01 opened 4 years ago

Column01 commented 4 years ago

We've been having issues with a server of ours that keeps either running out of memory or gets spammed so much the console becomes unresponsive. Any idea how to fix this? I tried disabling the nether growth block spreading capabilities in the config and it still has issues. It seems to happen when exploring the nether (flying around randomly will cause it). There also seems to be some issues with cascading world generation but I've only seen it in the overworld which has not had issues like the nether does in this case.

2020-02-21 22:54:05 | §b-#-#-#- START THREAD LOCKSMITH -#-#-#-§r
2020-02-21 22:54:05 | [threadlock]: --- Thread 44 ---
2020-02-21 22:54:05 | [threadlock]: Name: Server thread
2020-02-21 22:54:05 | [threadlock]: Status: RUNNABLE
2020-02-21 22:54:05 | [threadlock]: Stacktrace:
2020-02-21 22:54:05 | [threadlock]:  - java.io.DataInputStream.readUnsignedShort(DataInputStream.java:337)
2020-02-21 22:54:05 | [threadlock]:  - java.io.DataInputStream.readUTF(DataInputStream.java:589)
2020-02-21 22:54:05 | [threadlock]:  - java.io.DataInputStream.readUTF(DataInputStream.java:564)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.nbt.NBTTagString.func_152446_a(NBTTagString.java:31)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:497)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:58)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:497)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:58)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:497)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:58)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.nbt.NBTTagList.func_152446_a(NBTTagList.java:63)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:497)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:58)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:497)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:58)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.nbt.CompressedStreamTools.func_152455_a(CompressedStreamTools.java:133)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.nbt.CompressedStreamTools.func_152456_a(CompressedStreamTools.java:88)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.nbt.CompressedStreamTools.func_74796_a(CompressedStreamTools.java:31)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.world.storage.MapStorage.func_75742_a(SourceFile:49)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.world.World.func_72943_a(World.java:3677)
2020-02-21 22:54:05 | [threadlock]:  - nmd.primal.core.common.world.PendingBlocks.getForWorld(PendingBlocks.java:126)
2020-02-21 22:54:05 | [threadlock]:  - nmd.primal.core.common.world.generators.NetherGeneral.generate(NetherGeneral.java:47)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraftforge.fml.common.registry.GameRegistry.redirect$forgeImpl$startTimingOnGenerate$zzd000(GameRegistry.java:574)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraftforge.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:167)
2020-02-21 22:54:05 | [threadlock]:  - micdoodle8.mods.galacticraft.core.TransformerHooks.otherModGenerate(TransformerHooks.java:198)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.world.chunk.Chunk.func_186034_a(Chunk.java:1020)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.world.chunk.Chunk.func_186030_a(Chunk.java:999)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.world.gen.ChunkProviderServer.redirect$impl$populateChunkThroughSponge$bbh000(ChunkProviderServer.java:2082)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.world.gen.ChunkProviderServer.func_186025_d(ChunkProviderServer.java:157)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.server.management.PlayerChunkMapEntry.redirect$forgeImpl$UpdateLoadedChunk$bba000(PlayerChunkMapEntry.java:1576)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.server.management.PlayerChunkMapEntry.func_187268_a(PlayerChunkMapEntry.java:126)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.server.management.PlayerChunkMap.func_72693_b(SourceFile:147)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:227)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:756)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
2020-02-21 22:54:05 | [threadlock]:  - net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
2020-02-21 22:54:05 | [threadlock]:  - java.lang.Thread.run(Thread.java:748)
2020-02-21 22:54:05 | §9-#-#-#- END THREAD LOCKSMITH -#-#-#-§r
Column01 commented 4 years ago

The only other option I can think of is disabling the nether worldgen altogether which is not ideal since it would disable some things needed for progression on this modpack.

An-Sar commented 4 years ago

possibly a quick fix, the worldgen code cache unloaded chunks to prevent cascading. look in the data folder under your world for files that looks like "primal.world.nether.dat" check the size. If they are large try moving them off somewhere as a backup and see if the problem persists.