Minecraft java freezes whole pc. But it worked fine before.
I got a weird Problem.
I have allready given Minecraft 16gb ram out of my 32. But since a week or so it just randomly freezes. Sometimes after 30-45 mins and sometimes after 1-3mins. First the game freezes and then the second i click or hit any keys It freezes the whole pc to the point where not even ctrl alt delete or any other key combo are working and i have to forcefully reboot the pc.
This only seems to happen in Minecraft.
Before that week it was running with no Problem.
The only thing i changed is i installed optifine (i didnt know optifine is a bad option nowadays) it first seemed to be running fine but after 2 days the problem started.
I then deinstalled the launcher, the game and deleted the .minecraft folder in order to get rid of optifine but the problem stayed.
I allready tried:
-closed everything in the Background
-increased Minecrafts ram to 16gb (for all profiles)
-deinstalled and reinstalled (including deleting .minecraft)
-different render distances
-installed fabric and sodium
I don't know what to try anymore if anyone has a fix for this i would greatly appreciate it.
I have allready given Minecraft 16gb ram out of my 32. But since a week or so it just randomly freezes. Sometimes after 30-45 mins and sometimes after 1-3mins. First the game freezes and then the second i click or hit any keys It freezes the whole pc to the point where not even ctrl alt delete or any other key combo are working and i have to forcefully reboot the pc.
This only seems to happen in Minecraft.
Before that week it was running with no Problem.
The only thing i changed is i installed optifine (i didnt know optifine is a bad option nowadays) it first seemed to be running fine but after 2 days the problem started.
I then deinstalled the launcher, the game and deleted the .minecraft folder in order to get rid of optifine but the problem stayed.
I allready tried:
-closed everything in the Background
-increased Minecrafts ram to 16gb (for all profiles)
-deinstalled and reinstalled (including deleting .minecraft)
-different render distances
-installed fabric and sodium
I don't know what to try anymore if anyone has a fix for this i would greatly appreciate it.
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*)
just use 6 GB
do a fresh install or use prism launcher to install instance.
Java uses something called "garbage collector". It resets the ram only when it's fully loaded. So it loads the whole 16gb and then tries to clear it at once. 4 or 6 gb is enough