All Discussions > Steam Forums > Off Topic > Topic Details
Minecraft freezing
Whenever I play Minecraft Java edition I’m not sure if this happens with bedrock but my game freezes after playing for a bit and unfreezes after about 5 minutes or so. I am using feather launcher but I wouldn’t say it’s that. I have a ryzen 5 4500 paired with an rtx 3070 with 16gb of ram, it could be the bottleneck but I’m not too sure. This doesn’t happen in any other games that I play such as valorant Fortnite siege and a few others. If there is any way to fix this it would be very helpful thank you.
< >
Showing 1-12 of 12 comments
[:-:] 22 Oct @ 2:24pm 
Originally posted by cheese2drippyYT:
Java
Solved it for you
NSLucs 22 Oct @ 2:32pm 
Are you using mods or optfine?
Zero 22 Oct @ 2:37pm 
Originally posted by :-::
Originally posted by cheese2drippyYT:
Java
Solved it for you
Nah, it's a problem with a specific Minecraft update from some years ago. The game ran fine until that update.

OP, I'm not really sure what fixed mine when mine started working properly again, but the thing that was the most different about before and after the fix was that I started using an SSD. It's definitely not your GPU. MAYBE your CPU, but doubtful. I also allocate 4GB of RAM to mine using a special argument, so it could be that you need to do so as well.

Make a new notepad document and in it paste the following:

java -Xms4096M -Xmx4096M -jar (jar name here, such as minecraft_server.1.xx.x.jar, with the x being your version numbers by default)
PAUSE

Then Save As - Change the file type to All Files - Name it whatever you want (I named mine Minecraft_Server) and add .bat to the end of the file name - save. Make sure that file is saved in the same folder as your Minecraft server. Typical server setup/run after that, but make sure you always launch it with that batch file. Java doesn't understand how to allocate RAM properly, but that command will tell it to use 4GB. You can do more, if you want, but I've never needed more than that on a server with three people. Also, yes, you can play it by yourself that way, too. Just try to connect to a server using the Multiplayer menu in Minecraft and either type localhost or your PC's local IP address (not your WAN/Internet IP, your LAN/Router-assigned IP) for the IP.
Last edited by Zero; 22 Oct @ 2:40pm
Originally posted by Zero:
Originally posted by :-::
Solved it for you
Nah, it's a problem with a specific Minecraft update from some years ago. The game ran fine until that update.

OP, I'm not really sure what fixed mine when mine started working properly again, but the thing that was the most different about before and after the fix was that I started using an SSD. It's definitely not your GPU. MAYBE your CPU, but doubtful. I also allocate 4GB of RAM to mine using a special argument, so it could be that you need to do so as well.

Make a new notepad document and in it paste the following:

java -Xms4096M -Xmx4096M -jar (jar name here, such as minecraft_server.1.xx.x.jar, with the x being your version numbers by default)
PAUSE

Then Save As - Change the file type to All Files - Name it whatever you want (I named mine Minecraft_Server) and add .bat to the end of the file name - save. Make sure that file is saved in the same folder as your Minecraft server. Typical server setup/run after that, but make sure you always launch it with that batch file. Java doesn't understand how to allocate RAM properly, but that command will tell it to use 4GB. You can do more, if you want, but I've never needed more than that on a server with three people. Also, yes, you can play it by yourself that way, too. Just try to connect to a server using the Multiplayer menu in Minecraft and either type localhost or your PC's local IP address (not your WAN/Internet IP, your LAN/Router-assigned IP) for the IP.
I’ve already tried to allocate more memory to my game I have it at 8gb right now. I can just simply change it through feather client and it works fine I got more fps from it but it didn’t fix my problem
Originally posted by NSLucs:
Are you using mods or optfine?
Ye I’ll list out the performance mods I use but I do have other mods, sodium lithium and sodium extra. Sodium and lithium might be clashing but I’m not too sure
Zero 22 Oct @ 3:00pm 
Originally posted by cheese2drippyYT:
I’ve already tried to allocate more memory to my game I have it at 8gb right now. I can just simply change it through feather client and it works fine I got more fps from it but it didn’t fix my problem
I didn't think that would fix it, but it was worth a shot. I had all of that set back before I changed my HDD for an SSD and I still had issues. Mine didn't freeze, though, it had loading/rubber-banding issues. Your CPU COULD be the problem, but if you don't have an SSD, that might be the issue instead.
Originally posted by Zero:
Originally posted by cheese2drippyYT:
I’ve already tried to allocate more memory to my game I have it at 8gb right now. I can just simply change it through feather client and it works fine I got more fps from it but it didn’t fix my problem
I didn't think that would fix it, but it was worth a shot. I had all of that set back before I changed my HDD for an SSD and I still had issues. Mine didn't freeze, though, it had loading/rubber-banding issues. Your CPU COULD be the problem, but if you don't have an SSD, that might be the issue instead.
I have 2 1tb ssds so I’d say it’s the bottleneck 😔
Zero 22 Oct @ 3:09pm 
Originally posted by cheese2drippyYT:
I have 2 1tb ssds so I’d say it’s the bottleneck 😔
That would be my guess as well, then. It's difficult to test and expensive to assume, though. I don't suppose you know anyone that could help you test it?
Originally posted by Zero:
Originally posted by cheese2drippyYT:
I have 2 1tb ssds so I’d say it’s the bottleneck 😔
That would be my guess as well, then. It's difficult to test and expensive to assume, though. I don't suppose you know anyone that could help you test it?
Nah not really I’m looking at saving for a new motherboard copy and all that soon though so hopefully that fixes it
Did you try disabling all the mods .... and if that works then re-enabling them in small batches?
Also make sure that you have the correct version of Java installed.
Also make since you are using a launcher is there a console window that maybe has a log or readout of the crash error?
Zero 22 Oct @ 3:32pm 
Originally posted by Bind0fGod:
Did you try disabling all the mods .... and if that works then re-enabling them in small batches?
Also make sure that you have the correct version of Java installed.
Also make since you are using a launcher is there a console window that maybe has a log or readout of the crash error?
I assumed this was already done, but this is a good idea, too. The newer Java versions are a completely separate install from the older ones and I do remember needing to manually configure Minecraft to use the newer version of Java, as it wanted to default to the older one.
agu 22 Oct @ 3:33pm 
delete everything and reinstall
< >
Showing 1-12 of 12 comments
Per page: 1530 50

All Discussions > Steam Forums > Off Topic > Topic Details