The Minecraft client always occupies 100% of one core. In turn, this makes the desktop environment itself quite unresponsive. The game is somewhat responsive, but it slows down tremendously at times (as the system struggles to catch up).
Comments 21
This is the first time I've heard of this. How much memory are you allocating to the game? Have you updated your LWJGL?
I've allocated 2 GB and 4GB to the client with no change. One core hits 100% and stays there. Even if I stand still and do nothing, it stays at 100%.
And yes, I've updated my LWJGL. Are you referring to one beside the one that the Minecraft client manages/updates?
edit:
I had totally forgotten about this. I deleted my post because I found out that it was not a similar issue for me, so my post was irrelevant to this ticket.
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
The problem seems gone for me. I'm still running the same hardware with Mint 14 MATE and OpenJDK (64-bit). Again, I have no idea if it was a kernel update, a Java update, or a Minecraft update (or combination of those), but the CPU only spikes briefly when loading world chunks. General gameplay falls below 100%. So, for what it's worth, I have not observed this problem in 1.5.1.
I hope it is fixed for everyone. It is an issue worth monitoring. When the problem was happening, my system became unresponsive. It really was using 100% at the expense of everything else. I couldn't even drag a Nautilus/Caja window across my desktop; it was so bad.
I am a game developer myself.
<StabInTheDark> This behavior presents itself when there is a loop in the code with absolutely no sleep calls. Oftentimes, when developers build their first game loop, the game eats 100% needlessly because the application never relinquishes control of the CPU. So, there is likely a loop or two in the code that would really benefit from a 1 millisecond sleep (or even 0 millisecond sleep). </StabInTheDark>