<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 11:57:15 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[MC-2258] Client uses 100% CPU</title>
                <link>https://bugs.mojang.com/browse/MC-2258</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;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).&lt;/p&gt;</description>
                <environment>Core i5 2.8 GHz&lt;br/&gt;
4 GB RAM&lt;br/&gt;
NVIDIA GTX 275&lt;br/&gt;
&lt;br/&gt;
Tested in both Ubuntu 12.04 (64-bit) and Mint 13 (64-bit).&lt;br/&gt;
Tested in both Oracle Java 7 and OpenJDK 7.&lt;br/&gt;
Used proprietary NVIDIA driver (binary blob).</environment>
        <key id="13664">MC-2258</key>
            <summary>Client uses 100% CPU</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="7">Invalid</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="thebuzzsaw">TheBuzzSaw</reporter>
                        <labels>
                            <label>linux</label>
                            <label>performance</label>
                    </labels>
                <created>Sun, 4 Nov 2012 20:37:51 +0100</created>
                <updated>Mon, 6 May 2013 20:03:02 +0200</updated>
                            <resolved>Mon, 6 May 2013 20:03:02 +0200</resolved>
                                    <version>Minecraft 1.4.2</version>
                    <version>Minecraft 1.4.6</version>
                    <version>Minecraft 1.4.7</version>
                                                                        <votes>6</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="65284" author="bljat" created="Mon, 6 May 2013 20:03:02 +0200"  >&lt;p&gt;No more updates, assuming no longer an issue.&lt;/p&gt;</comment>
                            <comment id="58961" author="thebuzzsaw" created="Fri, 5 Apr 2013 17:58:23 +0200"  >&lt;p&gt;The problem seems gone for me. I&apos;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&apos;s worth, I have not observed this problem in 1.5.1.&lt;/p&gt;

&lt;p&gt;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&apos;t even drag a Nautilus/Caja window across my desktop; it was so bad.&lt;/p&gt;</comment>
                            <comment id="58699" author="bljat" created="Wed, 3 Apr 2013 22:28:48 +0200"  >&lt;p&gt;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.&lt;/p&gt;</comment>
                            <comment id="37028" author="purple" created="Tue, 15 Jan 2013 22:22:02 +0100"  >&lt;p&gt;edit:&lt;br/&gt;
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.&lt;/p&gt;</comment>
                            <comment id="25441" author="viking" created="Wed, 28 Nov 2012 01:29:21 +0100"  >&lt;p&gt;Changing from fancy to fast graphics after Minecraft goes to 100% CPU has no effect.&lt;/p&gt;</comment>
                            <comment id="24619" author="thebuzzsaw" created="Sat, 24 Nov 2012 19:11:07 +0100"  >&lt;p&gt;I just installed Mint 14 64-bit. (I abhor Unity, but I love Ubuntu repos.)&lt;/p&gt;

&lt;p&gt;I am running Mint 14 MATE with no compiz. So far, no 100% CPU usage issues. It spikes when (presumably) it has to load new areas, but general gameplay is fine. I will begin enabling certain desktop effects/compositors and see if that affects the CPU.&lt;/p&gt;</comment>
                            <comment id="24589" author="viking" created="Sat, 24 Nov 2012 17:29:45 +0100"  >&lt;p&gt;I just noticed in my terminal window there&apos;s lots of error messages.&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;Nov 24, 2012 10:20:13 AM bdo c
INFO: Starting integrated minecraft server version 1.4.5
Nov 24, 2012 10:20:13 AM bdo c
INFO: Generating keypair
Nov 24, 2012 10:20:13 AM net.minecraft.server.MinecraftServer e
INFO: Preparing start region for level 0
Nov 24, 2012 10:20:14 AM gm a
INFO: pantalones[/127.0.0.1:0] logged in with entity id 366 at (299.30000001192093, 67.0, 254.34965280381195)
Nov 24, 2012 10:20:47 AM bdo q
INFO: Saving and pausing game...
Nov 24, 2012 10:20:47 AM net.minecraft.server.MinecraftServer a
INFO: Saving chunks for level &apos;Foo&apos;/Overworld
Nov 24, 2012 10:20:47 AM net.minecraft.server.MinecraftServer a
INFO: Saving chunks for level &apos;Foo&apos;/Nether
Nov 24, 2012 10:20:47 AM net.minecraft.server.MinecraftServer a
INFO: Saving chunks for level &apos;Foo&apos;/The End
Nov 24, 2012 10:21:51 AM bdo q
INFO: Saving and pausing game...
Nov 24, 2012 10:21:51 AM net.minecraft.server.MinecraftServer a
INFO: Saving chunks for level &apos;Foo&apos;/Overworld
Nov 24, 2012 10:21:51 AM net.minecraft.server.MinecraftServer a
INFO: Saving chunks for level &apos;Foo&apos;/Nether
Nov 24, 2012 10:21:51 AM net.minecraft.server.MinecraftServer a
INFO: Saving chunks for level &apos;Foo&apos;/The End
Nov 24, 2012 10:22:42 AM bdo q
INFO: Saving and pausing game...
Nov 24, 2012 10:22:42 AM net.minecraft.server.MinecraftServer a
INFO: Saving chunks for level &apos;Foo&apos;/Overworld
Nov 24, 2012 10:22:42 AM net.minecraft.server.MinecraftServer a
INFO: Saving chunks for level &apos;Foo&apos;/Nether
Nov 24, 2012 10:22:42 AM net.minecraft.server.MinecraftServer a
INFO: Saving chunks for level &apos;Foo&apos;/The End
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 1013.624268 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 1013.825029 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 1024.570369 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 2470.706423 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 2470.788585 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 2487.646667 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 2067.259886 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 2067.343412 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 2107.529917 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 2026.06583 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 2026.263376 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 2054.399572 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 2520.830052 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 2520.901128 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 2538.474859 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 1126.527453 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 1126.610478 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 1146.12424 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 1071.022463 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 1071.103307 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 1098.8229 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 892.242964 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 892.325314 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 915.452684 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 2807.951153 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 2808.135777 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 2826.192288 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 981.45817 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 981.599116 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 997.303602 ms
Something&apos;s taking too long! &apos;root.tick.keyboard&apos; took aprox 1140.63165 ms
Something&apos;s taking too long! &apos;root.tick&apos; took aprox 1163.049538 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 1222.495568 ms
Nov 24, 2012 10:24:55 AM bdo q
INFO: Saving and pausing game...
Nov 24, 2012 10:24:55 AM net.minecraft.server.MinecraftServer a
INFO: Saving chunks for level &apos;Foo&apos;/Overworld
Nov 24, 2012 10:24:55 AM net.minecraft.server.MinecraftServer a
INFO: Saving chunks for level &apos;Foo&apos;/Nether
Nov 24, 2012 10:24:55 AM net.minecraft.server.MinecraftServer a
INFO: Saving chunks for level &apos;Foo&apos;/The End
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 2255.810253 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 2255.946345 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 2268.139559 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 818.155493 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 818.225852 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 839.28975 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 1029.763252 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 1029.855715 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 1049.46245 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 1023.340792 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 1023.427342 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 1032.406619 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 987.620904 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 987.713412 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 1000.235272 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 1028.45079 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 1028.553837 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 1041.218642 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 1023.608014 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 1023.702448 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 1043.402356 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 3768.276201 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 3768.492364 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 3787.470706 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 2431.957428 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 2432.105665 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 2444.945722 ms
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 1039.144553 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 1039.23689 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 1056.113403 ms
Nov 24, 2012 10:25:13 AM net.minecraft.server.MinecraftServer k
INFO: Stopping server
Nov 24, 2012 10:25:13 AM net.minecraft.server.MinecraftServer k
INFO: Saving players
Something&apos;s taking too long! &apos;root.tick.textures&apos; took aprox 352.508112 ms
Something&apos;s taking too long! &apos;root.tick&apos; took aprox 352.678534 ms
Nov 24, 2012 10:25:13 AM net.minecraft.server.MinecraftServer k
INFO: Saving worlds
Nov 24, 2012 10:25:13 AM net.minecraft.server.MinecraftServer a
INFO: Saving chunks for level &apos;Foo&apos;/Overworld
Nov 24, 2012 10:25:13 AM net.minecraft.server.MinecraftServer a
INFO: Saving chunks for level &apos;Foo&apos;/Nether
Nov 24, 2012 10:25:13 AM net.minecraft.server.MinecraftServer a
INFO: Saving chunks for level &apos;Foo&apos;/The End
Something&apos;s taking too long! &apos;root.render.display&apos; took aprox 3177.691511 ms
Something&apos;s taking too long! &apos;root.render&apos; took aprox 3177.802317 ms
Something&apos;s taking too long! &apos;root&apos; took aprox 3540.422126 ms
Stopping!

SoundSystem shutting down...
    Author: Paul Lamb, www.paulscode.com
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="24588" author="lordaro" created="Sat, 24 Nov 2012 17:24:21 +0100"  >&lt;p&gt;Try without fancy graphics.&lt;br/&gt;
If it&apos;s fine, leaves are broken &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="24587" author="viking" created="Sat, 24 Nov 2012 17:22:04 +0100"  >&lt;p&gt;Turns out I had already upgraded LWJGL. At first when I run the game, everything works fine. After a while, the game becomes very unresponsive. The debug screen indicates that the render is taking up the most time (over 90%). The game is very slow even after I close the world and go to the title screen. The Xorg process takes up 100% CPU and my machine only becomes responsive again when I close Minecraft.&lt;/p&gt;

&lt;p&gt;In my last world, this didn&apos;t happen as frequently. I just started a hardcore world in default world generation mode, and the problem is happening only within a minute of starting the game. My seed is 12345.&lt;/p&gt;

&lt;p&gt;EDIT: the biome I spawned in is ForestHills, which seems to be causing the most trouble.&lt;/p&gt;</comment>
                            <comment id="24583" author="viking" created="Sat, 24 Nov 2012 17:15:13 +0100"  >&lt;p&gt;Still having this issue in 1.4.5. I&apos;m running Ubuntu 12.10 with the latest NVIDIA drivers. The issue happens both with OpenJDK 7 and Oracle Java 7. I&apos;ll try upgrading LWJGL.&lt;/p&gt;</comment>
                            <comment id="24215" author="thebuzzsaw" created="Thu, 22 Nov 2012 21:02:47 +0100"  >&lt;p&gt;Good news. The update 1.4.5 seems to have fixed it. Granted, I don&apos;t know whether it was Minecraft&apos;s update or one of my system updates to Ubuntu/NVIDIA that fixed it. It patches so often. I will keep an eye on it. I think the real test will be in making a new world and playing some heavy duty multiplayer.&lt;/p&gt;

&lt;p&gt;I did manage to attach VisualVM (profiler) to it. Sadly, it made the game unplayable. XD But if you ever want a snapshot from that, I can post it here.&lt;/p&gt;</comment>
                            <comment id="19243" author="grum" created="Wed, 7 Nov 2012 20:51:25 +0100"  >&lt;p&gt;Feel free to attach a profiler to the JVM and report back with some hotspots &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="18910" author="cubethethird" created="Tue, 6 Nov 2012 22:19:16 +0100"  >&lt;p&gt;Is it just me, or does it seem that every linux related problem I&apos;ve seen be on computers that use NVIDIA graphics?&lt;/p&gt;</comment>
                            <comment id="18908" author="thebuzzsaw" created="Tue, 6 Nov 2012 22:15:31 +0100"  >&lt;p&gt;It is using 100% all the time. I can stand still, and it will stay at 100%. I can walk around, and it will stay at 100%. It will periodically shift which core is maxed, but one of them is always maxed. And yeah, as noted in my specs above, my computer is no slouch. If I run the game in Windows, this problem does not exist.&lt;/p&gt;

&lt;p&gt;I updated the environment to clarify: I am indeed running 64-bit.&lt;/p&gt;

&lt;p&gt;And yeah, I figured you had sleeps in the code. (If you didn&apos;t, the Windows and Mac versions would be crying out loud right now.) This makes me wonder if there is something wrong with the Linux JVM and/or its handling of timers/sleeps.&lt;/p&gt;</comment>
                            <comment id="18892" author="grum" created="Tue, 6 Nov 2012 21:47:50 +0100"  >&lt;p&gt;There are sleeps in the main loop.&lt;/p&gt;

&lt;p&gt;When is it using 100%? What are you doing at that moment? it can be totally justified if you have a sub-par machine, which in this case is not really likely.&lt;/p&gt;</comment>
                            <comment id="18809" author="kristoffera" created="Tue, 6 Nov 2012 17:45:12 +0100"  >&lt;p&gt;I have the same problem on 64 bit Fedora on my HP EliteBook 8540p . I actually had this problem on the same machine when I ran Ubuntu years ago.&lt;/p&gt;

&lt;p&gt;The performance of the game is flawless even with higher graphics settings but even with low settings the java process will hog 120% CPU. Eventually the computer will turn itself off to prevent the CPU from overheating.&lt;/p&gt;</comment>
                            <comment id="18776" author="sztomi" created="Tue, 6 Nov 2012 14:23:30 +0100"  >&lt;p&gt;I also have this issue, it is the same ever since Alpha 1.2_01 (that&apos;s when I started playing). &lt;/p&gt;</comment>
                            <comment id="18261" author="thebuzzsaw" created="Mon, 5 Nov 2012 00:57:04 +0100"  >&lt;p&gt;And yes, I&apos;ve updated my LWJGL. Are you referring to one beside the one that the Minecraft client manages/updates?&lt;/p&gt;</comment>
                            <comment id="18260" author="thebuzzsaw" created="Mon, 5 Nov 2012 00:56:17 +0100"  >&lt;p&gt;I&apos;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%.&lt;/p&gt;</comment>
                            <comment id="18133" author="cubethethird" created="Sun, 4 Nov 2012 20:46:58 +0100"  >&lt;p&gt;This is the first time I&apos;ve heard of this. How much memory are you allocating to the game? Have you updated your LWJGL?&lt;/p&gt;</comment>
                            <comment id="18129" author="thebuzzsaw" created="Sun, 4 Nov 2012 20:41:18 +0100"  >&lt;p&gt;I am a game developer myself.&lt;/p&gt;

&lt;p&gt;&amp;lt;StabInTheDark&amp;gt; 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). &amp;lt;/StabInTheDark&amp;gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 5 Feb 2013 02:45:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10302"><![CDATA[Community Consensus]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10501" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Game Mode</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10304"><![CDATA[Survival]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i029rj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>