Join 2,358+ Players and socialize together

Join the Community Today

Come hang out with us on the Minecraft Addicts Forums — it's the perfect place to chat, trade cool stuff, and connect with awesome builders just like you! Let's plan epic builds, create amazing worlds together, and then show off your masterpieces to everyone! Plus, we’re all about having fun, so feel free to talk about anything under the sun—games, hobbies, favorite snacks, you name it! Can't wait for you to join and share all the Minecraft magic!

Game Window Keeps Freezing

Status
Not open for further replies.

mindovermaster

Well-known member
Joined
Jan 16, 2012
Messages
255
When I play, I get a random freeze, where nothing moves, not even chat. This lasts for 5-10 seconds, then ill be fine for 30 minutes or so. Freezes again for a few secs. Repeat.

It is not my system freezing, because I can hit the window key out of the game and use it just fine.
It is not due to overheating, my CPU and GPU are at safe temps. CPU:45C GPU:65
It is not my RAM, I have 8GB of it, and only using 30% of it while playing.

I have the latest version of Java, have a 64bit version, and allotted it for 2064 of memory.

So, either it is a problem with my internet bandwidth, or your server, which can very much be either. Anyone experiencing this as well?
 
I had the same problem, earlier while flying around in Creative. It was while my computer was rendering the world around me.
 
I'm getting the same issue.
Not done much testing but from the F3 stats is seemed as though it had something to do with minecraft. Seemed to me like some sort of memory leak.

When it happens press f3 and take a look at the info at the top right of the screen. For me it reaches a certain limit, then drops down a little. Once it drops the client freezes up.

I've been testing it for a while now and get the same problems in pretty much the same time frame each time. The server wouldn't cause freezes on your end either, it would just be block/chat lag.
 
I did notice that under Task Manager, Java was pumping a whopping 1 million KB. So could be a fart in the jar, as well.

Time to report to Mojang... If not already.
 
I'm also suffering from a memory leak in this version of Minecraft, I've also seen several posts reporting on Minecraft Forums so definitely seems to be an issue for Mojang
 
mca_freeze.png


Memory leak with java?
 
minecraft is riddled with memory leaks, and has been since alpha. my recommendation, install java 7 update 2.
 
Memory leaks I can handle, but when it compromises the gameplay, I get a little uptight. I never ever had it freeze til this point.
 
I've managed to pretty much get rid of the freezing by increasing the amount of memory minecraft is allocated.
I run a batch file to increase the amount of memory allocated to minecraft.exe, although it will still leak, it shouldn't be able to leak enough to make the client freeze during your usual playtime.


Code:
javaw -Xmx4096m -Xms2048m -jar "C:\Desktop\Minecraft.exe"
Obviously change the location to your minecraft.exe and the amount of memory you wish to allocate.


Give it a try.
 
Alien, you might want to point out how to create a batch file, for the newbs.

Copy and paste Alien's code into notepad.
Your desktop, if in Windows 7, would be C:/users/*username*/desktop/minecraft.exe if you put it on your desktop.
Save it as minecraft.bat, not minecraft.bat.txt
Double click the .bat file. It will bring up a command line prompt for a few seconds, and then will go into the login screen.
Go into the game as normal.

I am unsure if you have to reapply the .bat file every time you open up minecraft. I'm sure Alien could answer that.
 
if you use that batch file, you would have to use it to launch minecraft every single time.

easier way -> get java 7 update 2 or update 3.

Java 7 automatically runs with those parameters.

i discovered this when i was running 3 servers + minecraft earlier. got an out of memory error when my java hit 4GB of use in my task manager
 
You have to run that every time you start minecraft, doesn't bother me much as you still have to run minecraft.exe to open it.

Also I tried Java 7 previously and it didn't seem as stable, atleast for me.
 
Status
Not open for further replies.
Back
Top