FerriteCore (Fabric)

FerriteCore (Fabric)

30M Downloads

Weird Stuttering bug

Mr-Syntax opened this issue ยท 7 comments

commented

so i made this huge pack
https://www.curseforge.com/minecraft/modpacks/chosencraft/settings/description
and your mod is a big help in making it run

but sometimes when you go through too many portals and explore a big portion of the map it will start stuttering hardcore
like 5 secs fluent gameplay and then full stop for 3 secs.
rarely it only gets 5 stutters in a row and you can continue.

im pretty certain it has to do with RAM and that is why im writing here, in hopes that you might have an idea whats going on.
when you lower your dedicated ram it happens sooner.

commented

That sounds like a full "stop the world" GC. If you look at F3, you have a couple of values related to memory usage in the top right, you're interested in the "Mem: x% y/zMB" line. Does the x% get near 100% when this lag happens, and does it drop to something much lower after the lag?

commented

Ofc now when i really tried to trigger it i cant >.< i will try to get a few screenshots of the console next time it happens, thanks for helping brother!

btw are you danish aswell?

commented

ok bro so its when its unloading thats for sure, it spikes each time it unloads

its everytime it hits 95%
it then goes down to around 72% and if you stick it out there is no change except for no lags spikes

commented

okay so now i know how it works

its the build up over being logged in for a long period of time, at the beginning memory usage will start at 45% and move up and reset

the lagging begins aroun 70% when there is so much stuff in the memory that it has too little space to unload it.

maybe if you could do something like unloading the stuff from the memory again with respect to when it was loaded

like if its so structure or something then if it was the first thing that was loaded then it will be the first thing to be unloaded from the memory and then only load it when you encounter it again

commented

okay so i mitigated the problem a little, i have the item physics mod on and after going over a mega lake grove biome in the end i noticed that there is alot of sand falling down and dropping into the world at the same time which lags the client out
i then checked how long they would be there and from standard it was set to 6000 secs... so there was definently some memory build up from that... but i can still trigger it if i explore enough without quitting.. it doesent happen on my friends computer with 32 gb memory tho i might add

commented

i identified the problem to stem from the mod farsight, without it it can still have 2-3 spikes in a row but then you can play normally for a bit again

commented

I'll close this, since it does not seem to be related to FerriteCore itself.