Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I have a decent PC, with an intel i3 CPU, 3 GBs of RAM and a 1 GB GDDR3 128-bits graphics card.

I can run MC just fine, getting over 60 fps most of the time. I noticed that when the memory usage of MC gets close to 1 GB, it started to freeze for 2 seconds then coming back and repeating the cycle. Only solution I seemed to find was restarting the game itself.

My guess is that after going through all those landscape elements, the used memory starts to build up and the game chokes (does that make any sense?).

share|improve this question
5  
The problem is...minecraft –  Ben Brocka Apr 14 '12 at 11:30
    
Despite being developed in Java, a memory managed language, there are still memory leaks. –  MBraedley Apr 14 '12 at 11:35
    
Just as a side note, you could try doing this: minecraftforum.net/topic/… It won't fix the problem, but delaying it a bit. –  cedi Apr 14 '12 at 13:39
    
Try using OptiFine. Then give MC more RAM. This won't stop the problem, but will delay it for a while. –  Jeffrey Lin Jan 5 '13 at 11:45

4 Answers 4

up vote 1 down vote accepted

Reduces the render distance by one. (ie go from Far to Normal).

I've had a similar problem before, and that helped.

If you are willing to spend a bit more time, you can launch from command line to give it more memory, however that will only increase the length of the cycle.

share|improve this answer
1  
More memory isn't much of an option with only 3GB of system memory. Windows will already be taking almost 2GB, so increasing Java's heap will only force it to start swapping to disk, which would only increase the problem. –  SevenSidedDie Oct 10 '12 at 15:26

Because of the way Minecraft was developed (as a "fun" project of notch which was later transformed into a serious indie game) the code isn't exaclty clean, still I guess (or hope) that there are only minor memory leaks which just add up over time and fill your ram with garbage.

If this is true the only way to really fix that would be Mojang fixing the code...

The only thing you can do is just to restart the game, which shouldn't cause you too much trouble.

You could try to do the thing that is described here it won't fix the problem, but it will delay it a bit.

share|improve this answer
4  
They've repeatedly referenced performance fixes in release notes but I've never noticed a significant performance change. –  Ben Brocka Apr 14 '12 at 11:36
    
@BenBrocka There's a lot more code running with a lot more features each update; the performance updates are probably just to keep it from slowing down, and/or to fix performance problems introduced by inefficient code in new features. So, more like performance bugfixes and performance maintenance than performance improvements per se, is my bet. –  SevenSidedDie Oct 16 '13 at 20:57

Suggestions:

  1. Update Java. It really does make a difference, speeds up your game a lot. If you have a 64-bit computer, make sure you are using the 64 bit version.

  2. Update your graphics cards drivers.

  3. Consider the Optifine mod. The light one adds a lot of FPS to the game (warning, not compatible with Modloader or Forge), but since you have a more powerful processor, you probably want a better version. Set it so that it loads less chunks as you are moving.

share|improve this answer

Re-install the .jar it will reallocate the memory.

share|improve this answer
1  
I don't think a reinstallation is necessary. If anything, it's overkill. –  Frank Sep 7 '13 at 19:38
    
Memory is reallocated when the program is restarted, so reinstalling won't do anything except create more work that does nothing. –  SevenSidedDie Sep 7 '13 at 21:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.