r/MinecraftJava • • 17d ago

Minecraft Java freezing entire windows 11 laptop with intel graphics card 32GB ram.

So whenever I try to play minecraft it randomly freezing my laptop and everything stops responding, is there any fix for this to stop happening.

Edit: I should probably post this on another subreddit but now the issue is way worse, it's not just minecraft it's the whole computer that freezes before even opening minecraft.

5 Upvotes

12 comments sorted by

1

u/Chopsticks-03854 17d ago

What’s your loader

1

u/mario3sid 17d ago

I use modrinth to launch minecraft. I have about 53 mods but this issue just happened and I have had those mods forever, also I use sodium to boost my fps, I also noticed my fps is going down. Sorry I didn't say this before it was just that the freezing was killing me

1

u/Chopsticks-03854 17d ago

Try using mercurizer, might help

1

u/Jwhodis 17d ago

What app are you using to run the game? Prism Launcher?

Are you using any performance mods?

What did you set your minimum and maximum RAM to?

Are you using any extra Java arguments?

1

u/mario3sid 17d ago
  1. I use modrinth
  2. I use sodium
  3. my maximum is the whole 32GB and I don't know how to check my minimum
  4. No

1

u/Jwhodis 17d ago edited 17d ago

Set both your minimum and maximum RAM to 8G or 8192M, they should both be the exact same value ~8GBs is the sweet spot, and use these Java arguments:

XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+UseZGC -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+UseNUMA -XX:+PerfDisableSharedMem

If that doesn't improve it then add Spark profiler and see if that can tell you what's happening.

1

u/Winter_Regret4431 16d ago

keep in mind that unlocking experimental vm options is heavily discouraged. also add XX:+UseStringDeduplication

1

u/Boring-Equivalent137 16d ago

Don't set your entire ram to it

3

u/mahdigamer564 17d ago

If 1.21.11 to 26.2 , it's actually a VRAM leak issue, I recommend playing on 26.3 or any other version

Edit : allocate only 4GB of ram if vanilla Minecraft

Allocate 6-8 if It's a Heavy modpack (RLcraft - BMC - Sky factory - GTNH)

Allocate 10-12GB if the Modpack is very heavy on memory ( Deceased craft, NightFallCraft , Prominence 2 )

1

u/AutoModerator 17d ago

Thank you for posting on r/MinecraftJava! Remember to follow the rules and have fun. If this post breaks the rules please downvote and report. We have a Discord Server for anyone looking for like minded people to interact with! The Discord is 18+ (There is no NSFW content allowed), no exceptions. We're not your mom or dad and not responsible for your kids. https://discord.gg/yvQWHtVrhb

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/apoetofnowords 16d ago

Check if you are overheating. Then check your RAM allocation like recommended earlier

1

u/AutoModerator 12d ago

Thank you for posting on r/MinecraftJava! Remember to follow the rules and have fun. If this post breaks the rules please downvote and report. We have a Discord Server for anyone looking for like minded people to interact with! The Discord is 18+ (There is no NSFW content allowed), no exceptions. We're not your mom or dad and not responsible for your kids. https://discord.gg/yvQWHtVrhb

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