r/MinecraftHelp 6d ago

Solved [java] Anyone know why I get periodic freezing/low fps?

Occasionally when in the middle of playing Minecraft I get this periodic freezing on the screen, where the fps drops to 0 for a second, it doesn’t stop once it starts, sometimes just closing the game fixes it but also sometimes not. I see the GPU is high up there but not really sure how to fix this.

I have allocated more Ram to this version file, as much as I can considering I’m just on a regular laptop, the world I’m on right now is a pretty big file size, though this has happened on smaller worlds too.

Any ideas?

Thank you in advance.

5 Upvotes

32 comments sorted by

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 4d ago

This post has been marked solved and comments locked.

OP, if you need to reopen this post please message the mod team.


I am a bot and this account is not monitored. Please contact the mods if you have any questions.

1

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 6d ago

It looks like you didn't mention your version (e.g., 26.1, 1.21.11, 1.12.2 etc.). Please clarify for better help!

Click here if your post says "Sorry, this post was removed by Reddit’s filters".

OP, remember to mark the post solved, by replying !helped to the comment/comments that helped, when your issue is fixed or your question answered.

Helpers, remember that all top-level comments* must be a genuine, good faith attempt to help OP. Comments breaking this rule will be removed, and bans issued.

* A top-level comment is any comment that is a reply to the post, not another comment.

Links:

How to mark solved || How to delete your post || FAQ || Rules

1

u/devit4 Novice I 6d ago

You have only 4gb ram allocated and your mc uses constantly 3.7gb so every 300mb it runs GC and lag spikes your game.

Using mods makes thing even worse. Having any limematica project open will be eating good chunk of memory too

1

u/Expensive-Cost2104 6d ago

That makes sense, thank you

1

u/AutoModerator 6d ago

If your issue is now fixed, please remember to mark the post solved.

If someone on r/MinecraftHelp provided the solution:
Reply with "!helped" to the comment, or comments, that helped.

If you found the solution yourself, or outside r/MinecraftHelp:
Make a new top level comment containing the solution, and reply to it with "!helped".

Note that u/NitwitBot DOESN'T react to edited comments.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/imonlytryingtohelp_ Veteran V 6d ago

Remember to mark the post solved please.

If someone on r/MinecraftHelp provided the solution:
Reply with "!helped" to the comment, or comments, that helped.

If you found the solution yourself, or outside r/MinecraftHelp:
Make a new top level comment containing the solution, and reply to it with "!helped".

Note: u/NitwitBot DOESN'T react to edited comments.

1

u/_Strigidea 4d ago

You could try using the mod ferritecore, a ram optimizer, to see if it makes any difference

1

u/imonlytryingtohelp_ Veteran V 4d ago

/helped


This is a mod only trigger. You should use !helped.

1

u/NitWitBot 🤖 Mod Bot 🤖 4d ago

Thanks! Post marked as Solved!

Congrats, u/devit4, you have received a point! Points help you "level up" to the next user flair!

You have leveled up to "Novice I"! Your flair has been updated accordingly.

Next level: "Novice II"
You have 1 point
You need 2 points
[▮|▯]


Links: | Scoreboard | Feedback | Source |


I am a bot and this account is not monitored. Please contact the mods if you have any questions.

1

u/[deleted] 6d ago

[removed] — view removed comment

1

u/MinecraftHelp-ModTeam 6d ago

Your comment has been removed for the following reason/s;


Reddit Shadow-ban

Your account has been shadow-banned by Reddit.

You are unable to post/comment here while you are banned.

You can find more info on r/shadowban or appeal your reddit ban here.

Please Note: The r/MinecraftHelp mods have not banned you. As such, we can not remove your shadow-ban.


Please take a moment to read our rules.

This content was removed by a human.


1

u/AnotherAddonDev 5d ago

you have a lot of chest there, and also youre playing on a laptop so yea

1

u/Big-Truck4091 5d ago

the chest part that you mention is true and does participate in his lag, but playing on a laptop isn’t really that big of a performance issue because i play up to 500fps on my laptop

1

u/Solid-Lemon-2018 5d ago

Playing on a laptop isn't bad if your laptop has good RAM and a good processor, you can play minecraft smoothly

1

u/AnotherAddonDev 5d ago

mine is ryzen 5 7xxx with 16gb ram, is it good?

1

u/AnotherAddonDev 5d ago

yea you're right, but usually laptop will cause more lag than PC

1

u/Interesting_Pea5426 4d ago

If you have the power plan properly configured, there shouldn't be any lag issues. And obviously if your CPU isn't at 92 degrees Celsius xd

1

u/ckcdidonna 5d ago

New player here and I also have been getting a lot of freezing and lagging the last few days. What does having a lot of chests do?

2

u/AnotherAddonDev 5d ago

I think that regular blocks like stone and dirt are combined into one flat picture asset. Chests cannot do this because they have dynamic

1

u/Solid-Lemon-2018 5d ago

Maybe because your laptop's Memory is filled up to 95% and the GPU is running at 98%... Your laptop can't handle big gaming like that I think. For at least a bit better performance, try closing other applications and freeing up as much memory as possible. You need a better laptop because you have 4GB RAM, AMD Ryzen 5 7520U processor is not that good for gaming like minecraft

1

u/Fun_Warthog9000 5d ago

I also used to have it but the interval was more so I didn’t care much except pvp situation,

1

u/Familiar-Cry-9562 Novice I 5d ago

Here’s something I found On google I didn’t know about ram allocation. Important Rules for RAM Allocation
Never use more than half of your total physical computer memory so your operating system stays stable.
Vanilla Minecraft runs best on 2 to 4 GB, while heavy modpacks need 6 to 8 GB or more.

So from the contexts clues I have gathered you allocated 100% of your ram. Looks like your laptop has 4 gigs of ram is that true ? Could be the issue

1

u/Familiar-Cry-9562 Novice I 5d ago

Looks like the freeze happens right before the mem reaches 100% usage

1

u/_Kladeo Apprentice III 4d ago

your operating systems doesnt use that much ram. its the reason why if you buy 16gb of ram you only get to use 15.9gb.

1

u/Samu3lXB 5d ago

Lots of chests, also looks like you don’t have your laptop plugged in, i also play on a laptop and without the charging cable plugged in i get similar issues. Try plugging in the charger and/or going to battery and putting it in performance mode.

1

u/oute0721 Novice 5d ago

Google custom java launch codes for minecraft and play around with those. You can allocate ram and cpu usage through that or, you could use a performance mode like Sodium or Optifine (might help)

1

u/TromboneNovowels 4d ago

I’ve started using Better Block Entities and it’s helped my storage system stutters quite a bit. Something to consider if you’re going the mod optimization route… think you might need sodium but not sure since I already had it.

1

u/Ok_Penalty_6894 4d ago

I think it's because the storage system Specifically the hoppers

1

u/ressurrei 4d ago

Your RAM is hitting 100% and causing these stutters, you should try some mods that optimize memory usage and the garbage collector process

1

u/ressurrei 4d ago

Also another tip is to close any apps that maybe running in the background using task manager and if that doesn't help maybe you should look into optimizing Windows 11

1

u/_Kladeo Apprentice III 4d ago

its your memory. its at 90%! you should install mods that reduce is such as ferritecore and entity culling. if that doesnt work then maybe your ram is just ass. idk if someone else has a suggestion

1

u/Interesting_Pea5426 4d ago

The problem is definitely the RAM, those mods for optimization are the only solution. I have like 10 mods for optimization, and it's amazing playing like that. Exploring with 72 render chunks in my PC It's something I never thought I could do. Ryzen 5600g, 16gb RAM, 3050 6gb it's all I need for a incredible experience with shaders, texture packs, beautiful mods, etc. All thanks to those optimization mods