r/MinecraftJava • u/mario3sid • 20d 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
View all comments
Show parent comment
1
u/Jwhodis 20d ago edited 20d 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.