Saturday, April 14, 2012

Minecraft starts lagging after a while

Question

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?).

Answer

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.

Answered by cedi

No comments:

Post a Comment