#Fps drop/Stutter when Memory % resets.

50 messages · Page 1 of 1 (latest)

inland wren
#

This might be user error, but I have tried: fresh installs, updating graphics drivers, java update, more and less ram allocation, literally every graphic setting in Minecraft. Even when I am paused in a flat world it will still stutter and happens every 30 seconds or so.

silent kelp
#

thats ram

#

run a sparkc profile in a flatworld for 60-120 seconds

inland wren
#

Im going to try another launch instead of Curseforge

inland wren
#

Same stutter issue on the FTB app

silent kelp
#

is this a laptop or desktop?

inland wren
#

Desktop

silent kelp
#

does it happen in windowed mode

inland wren
#

Both windowed and full screen

silent kelp
#

does it happen when vsync is off

#

(and fps is unlimited)

inland wren
#

yes

silent kelp
#

yeah, sounds like a garbage collection ram issue

inland wren
#

So I went in a disabled every mod expect of Embeddium and only get a 10 fps drop every time the ram resets.

#

I tried replacing it with sodium but it would not launch minecraft

#

Going to try enableing all the mods expect Embeddium. Will update

inland wren
#

Same outcome with Sodium+indium. Same drop in fps

inland wren
#

Reading up on spark and get this every time it happens with /spark tickmonitor

silent kelp
#

yes, its garbage collection which is why i linked the page that discusses optimizing the garbage collector

#

did you read it

inland wren
#

yes

violet mango
#

Um... and maybe this in nothing / just general Win11 weirdness... but why is your swap half-used?

inland wren
#

im on windows 10

violet mango
#

OK, same q: only using 20 of 32GB... seems odd to be that deep into swap.

inland wren
#

Trying to quickly learn what Memory(swap) is. Not really understanding what you are saying

violet mango
#

You have an easy-on-the pc flat world; shouldn't be hard for it to render without significant GC pauses.
I was just pointing out what seemed like an oddity in that spark profile.
Really, just a round-about way of agreeing with what Lingaurdium said... what are you GC settings?

inland wren
#

I have ran ZGC, Shenandoah, and G1GC with the websites suggested settings

#

They all have the same outcome when they hit the peek

#

ZGC seems to be the best for time between spikes, but that makes since since it dumps when it is close to 99%

violet mango
#

Have you added any mods?
I mean, just surprised that a super flat world—with, I’m guessing, spawning and structures both turned off—would generate that much memory churn.

#

I often use super flats for testing, but haven’t seen noticeable GC pauses/lag.
I think I’ve specified no GC-related args at all, other the max ram.

silent kelp
#

Blue, do keep in mind, I was seeing 7GB usage with 6GB assigned on the title screen, before even loading a world

violet mango
#

Oh, I believe that. There's still some (or more?) excessive memory usage/churn going on in 7.
At least I haven't OOMed for bit... but then, I've also been playing a lot less the past two point releases.

It's the noticible GC pauses OP is reporting that surprise me--assuming they are noticing them is superflat.
Have you seen those too?

silent kelp
#

couldnt tell you. all of my time in aof7 has been briefly joining a world, testing something specific and then closing

#

it is odd that its freezing up without old gc though

#

also odd that it freezes up on the pause menu

violet mango
#

btw... a happy data point... I've got my client on and have been traveling a bit in spectator mode on EU7... Task Manager says 7.4-ish GB for my jvm.

#

And that's on 6GB set in Prism.

inland wren
#

Solved and not sure on a fix. It's fabric 1.20.1. Forge and any other modpack with fabric 1.19 or below does not have this problem. Every modpack I have tried with fabric 1.20.1 has the same issue.

silent kelp
#

and you tried a profile with just forge 1.20.1 and a profile with just fabric 1.20.1 to verify it was actually fabric itself and not a common mod in those packs?

inland wren
#

With Fabric it does it with no mod

silent kelp
#

and with forge it does not do it with no mod?

inland wren
#

Forge is fine with mods and no mods

silent kelp
#

and with vanilla?

inland wren
#

Vanilla works

silent kelp
#

huh, thats super weird because fabric literally does nothing but inject a loader to load mods which wouldnt affect this at all. it should have parity with vanilla in this regard

inland wren
#

Its something to do with my pc and Fabric