Mystcraft causing major lag?

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Zelfana

New Member
Jul 29, 2019
813
0
1
My memory use goes from under 300MB up to over 400MB after using a linking book only three times. And because I have memory limited to 512MB I get huge lag as the memory is not freed and Java keeps freeing the little memory I have left every 5 seconds. Kind of very annoying. There is no other way to fix it than restarting whole Minecraft, the memory is not freed by reloading the world. F3+A reloads chunks also which doesn't help either.
 

Zelfana

New Member
Jul 29, 2019
813
0
1
The memory leak means that if players make enough Linking Books to different places and use them it would increase the memory usage and eventually you would run out. The chunk data is loaded but not dumped when they leave the area. Restarting recovers the memory obviously but it's still something you should not have to do.
 

Kelvin

New Member
Jul 29, 2019
43
0
0
The memory leak means that if players make enough Linking Books to different places and use them it would increase the memory usage and eventually you would run out. The chunk data is loaded but not dumped when they leave the area. Restarting recovers the memory obviously but it's still something you should not have to do.

Not quite true, the problem I have, and have tested it over and over again is that if I jump between portals, overworld to nether and back (both sides chunkloaded where the portal is) the memory will increase until it crashes, it does not seem to be about quantity of linkbooks but the amount of jumps you take, even if it is only between 2 portals.
 

Zelfana

New Member
Jul 29, 2019
813
0
1
Not quite true, the problem I have, and have tested it over and over again is that if I jump between portals, overworld to nether and back (both sides chunkloaded where the portal is) the memory will increase until it crashes, it does not seem to be about quantity of linkbooks but the amount of jumps you take, even if it is only between 2 portals.
Yeah that's correct, should have been more clear. The chunks are not really loaded but the memory isn't marked for garbage when they unload. So memory use will increase even if you use the same book. I also managed to crash with something about 5 jumps. Wouldn't really want to increase allocated memory as it's not needed otherwise.