Constant Chunk Loading/Unloading
Opened this issue ยท 3 comments
scarfkitten commented on Jan 25, 2019, 6:35 PM UTC:
Thank you for helping us improve.
Please follow the issue template, and do not delete any part of it.
Failure to comply will result in the issue being closed.
Issue Description
There seems to be a bad interaction between Thaumcraft trying to load the aura for chunks within the Twilight Forest, and those chunks being immediately unloaded, only to be reloaded the next tick. This causes immense server lag and bleeds out memory at an alarming rate. If left over night, the server eventually runs out of memory and crashes. Usually takes ~6 hours depending on the level of user usage.
This only began when I entered the twilight forest, making me think that it might be on TF's end.
It's worth noting that I have 3GBmin and 6GBmax of memory dedicated to the client
Modpack version (Do not use "latest")
1.53 - Nutrition Mod disabled, no other changes. Laggoggles mod added to diagnose the problem when it first began - problem began before any additions to the pack.
Logs
First log - demonstrates the chunk loading lag.
https://gist.github.com/scarfkitten/e5c5ef5c12cd5008e9162e115d21d186
Second log - demonstrates java running out of memory due to aforementioned chunk loading lag. Please excuse the truncated log; MultiMC decided to delete a huge chunk of the loading log when I ran lag goggles. Relevant information at the end.
https://gist.github.com/scarfkitten/aa9cb9c873d9ac4b467bea2ec6479620
Screenshots
Not relevant.
Additional context
N/A
This issue was moved by NillerMedDild from NillerMedDild/Enigmatica2Expert#703.
NillerMedDild commented on Jan 28, 2019, 8:55 PM UTC:
Alright, I have a possible solution. Would you be willing to test it out?
I changed two Forge configs:
- Make sure chunks cannot (should not) be rapidly unloaded-then-loaded
- Keep a cache of recently loaded chunks
You will need to change config/forge.cfg
line 80 to I:dimensionUnloadQueueDelay=100
and config/forgeChunkLoading.cfg
line 26 to I:dormantChunkCacheSize=64
scarfkitten commented on Jan 25, 2019, 6:36 PM UTC:
Oh - and for a temporary, albiet less than ideal fix, you can just wholesale delete the dim7 folder which contains twilight forest's world data.
NillerMedDild commented on Jan 25, 2019, 6:53 PM UTC:
Oh boy, I have a bad feeling about this issue :P