HELP horrible lag spikes and I'm not sure what causes them!
These last days, my Minecraft has been having these horrible lag spikes that I can't seem to fix: changing settings, researching, trying out stuff, but I can't put my finger on what's the exact problem?
I've tried reloading chunks meanwhile I get the lag spikes, changing the rendering distance, using only Minecraft (because I usually also have Discord and Opera opened up) and they are heavily persisent.
I doubt it's my RAM. I have 16GB or RAM, and I think that's fairly enough for modded Minecraft?
Also, sorry if the pictures are phone-taken, my PC for some reason doesn't wanna take pictures.
The last picture is all the mods I have on, which most are just GUI stuff or needed to support others such as Mega Showdown or Cobbredding.
I use Iris and the fabric that it provides, and the main MAIN mod that I use on my survival mod is Cobblemon!
I also use Complementary Unbound for shaders.
I've tried reloading chunks meanwhile I get the lag spikes, changing the rendering distance, using only Minecraft (because I usually also have Discord and Opera opened up) and they are heavily persisent.
I doubt it's my RAM. I have 16GB or RAM, and I think that's fairly enough for modded Minecraft?
Also, sorry if the pictures are phone-taken, my PC for some reason doesn't wanna take pictures.
The last picture is all the mods I have on, which most are just GUI stuff or needed to support others such as Mega Showdown or Cobbredding.
I use Iris and the fabric that it provides, and the main MAIN mod that I use on my survival mod is Cobblemon!
I also use Complementary Unbound for shaders.
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
My GPU memory is 12GB with, usually when I check, an usage of 20% to 50% on average.
My Local Disc is pretty neat, but over the 50% storage used (310GB used. The max capacity is 446GB), so not that.
I use a DIMM memory, and my disc is SSD SATA
It also can't be a server problem, due to me playing on singleplayer most of the time.
For Minecraft Texture Packs, I only use the continuity default ones and Magikarp Jump variants from Cobblemon.
I gen, at 11AM, can't think of anything else XD
1. Shaders + unlimited fps is putting a massive strain on your GPU. Try capping your fps and see if that fixes it.
2. Load up a vanilla installation and see if the issue persists. If it does then it's most likely a problem with your PC.
3. Once you have narrowed it down to either Minecraft itself or your computer try one of these. If it's your computer check your temps and FPS using the monitoring in MSI afterburner. If it's Minecraft try removing mods slowly until either the problem is fixed or if you remove all the mods and you're still lagging you may have a bad install of fabric so try uninstalling and reinstalling it.
"My GPU memory is 12GB with, usually when I check, an usage of 20% to 50% on average.
My Local Disc is pretty neat, but over the 50% storage used (310GB used. The max capacity is 446GB), so not that.
I use a DIMM memory, and my disc is SSD SATA
It also can't be a server problem, due to me playing on singleplayer most of the time.
For Minecraft Texture Packs, I only use the continuity default ones and Magikarp Jump variants from Cobblemon."
These are the ones I could think of that could cause performance issues.
I've played a vanilla world for 30 mins and it seems to go flawlessly.
The problem seemed to be the fps and render distance + shaders. With a 50 fps cap and 5 chunks it seems to work fenomenal with shaders. I was so convinced my PC could handle more but I was so wrong LOL
If you have a 144Hz monitor though, you could probably do Unlimited FPS, but you’d still need a beefy computer as MC will pretty much run your computer hardware to the max, so that 8GB of ram wont do you well with the 144Hz
OP You'll need to look for options 'xms' and 'xmx' which tell Minecraft the minimum, and maximum amount of RAM to use.
I'd suggest setting xmx to around 10-12G since you've said you have 16 gigs of RAM, that should leave enough for Opera and Discord to be happy
Relevent JVM arguments: -XX:+UseZGC -XX:+ZGenerational
100% verify those JVM arguments, don't just use what some rando on the internet tells you :)
I'm accustom to running pretty hefty forge packs so my view on how much to feed Java is probably quite skewed \^\^"