<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:05:03 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-4583] Extreme Lag when generating new chunks</title>
                <link>https://bugs.mojang.com/browse/MC-4583</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;Generated a new thin flat world to generate mineshafts above ground. But whenever the game creates new chunks it will freeze for 1-10 seconds. Makes the game unfun to play.&lt;/p&gt;</description>
                <environment>Mac OS X Mountain Lion</environment>
        <key id="17111">MC-4583</key>
            <summary>Extreme Lag when generating new chunks</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="yalishanda">Alexander Hammett</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 Dec 2012 21:37:05 +0100</created>
                <updated>Fri, 7 Jun 2013 01:09:32 +0200</updated>
                            <resolved>Sat, 18 May 2013 14:57:22 +0200</resolved>
                                    <version>Snapshot 12w50a</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="72016" author="ddidderr" created="Fri, 7 Jun 2013 01:09:32 +0200"  >&lt;p&gt;I don&apos;t think it is because of the server (hardware). Our server has a powerful AMD Opteron 8-core processor, very fast Harddisk I/O and 32 GB of RAM. When the extreme server lag appears there is at maximum one and a half cores busy. It is a Gnu/Linux Server running the latest Linux kernel 3.9.4 64-bit. Latest Java version (JRE 7 Update 21 64-Bit).&lt;/p&gt;

&lt;p&gt;I think the problem is a lot bigger than just to say it&apos;s because of hardware performance.&lt;/p&gt;

&lt;p&gt;We just tested a bit on different versions, OSes and so on. &quot;Testing&quot; means we (2 players) joined a fresh and clean server without any plugins running, went to gamemode 1 and started flying in different directions (i.e. Player 1 in SOUTH-EAST direction and player 2 in NORTH-WEST). Here are the results:&lt;/p&gt;

&lt;p&gt;When we talk about Java we always mean the official Oracle Java.&lt;br/&gt;
JRE7u21, Bukkit 1.4.7 Release - After less than a minute there were no new chunks seen in the client, the &quot;last-chunk-border&quot; was crossed. All animals didn&apos;t move, no server response when typing in commands and after 2 more minutes players were kicked with a Connection Error and for at least 5 minutes (or even longer) no re-login was possible.&lt;/p&gt;

&lt;p&gt;Linux Server as stated above:&lt;br/&gt;
JRE6u45, Bukkit 1.4.7 Release - Basically the same as the above.&lt;/p&gt;

&lt;p&gt;JRE7u21, Bukkit 1.5.2 #2783 and #2771 - Basically the same as the above.&lt;/p&gt;

&lt;p&gt;JRE7u21, Vanilla Minecraft server 1.5.2 - Same as above but problems appeared much earlier!!! So it seems to be a pure Minecraft code problem? I will write more in my conclusion.&lt;/p&gt;

&lt;p&gt;Windows 7 64-bit (AMD Phenom II, 6 cores, 8GB RAM, SSD):&lt;br/&gt;
JRE7u21, Vanilla Minecraft server 1.5.2: 2 Players could fly a very long time in different directions, but the same problems as above appeared really quickly when a third player joined and also flew into another direction.&lt;/p&gt;

&lt;p&gt;CONCLUSION:&lt;br/&gt;
From my point of view it doesn&apos;t seem to have anything to do with the underlying hardware. It seems that it&apos;s just a problem with the vanilla minecraft chunk generation code and maybe some threading stuff. I don&apos;t understand why this could be a problem. Chunk generation should be done in different threads than the main thread and once a chunk is generated the main thread should become aware of it and do whatever it needs to do with it.&lt;/p&gt;

&lt;p&gt;In the Bukkit Bug Tracker there already exists a similar issue I think you maybe should have a look at it: &lt;a href=&quot;https://bukkit.atlassian.net/browse/BUKKIT-444&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bukkit.atlassian.net/browse/BUKKIT-444&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In my opinion it is a serious issue because griefing is easily done when servers don&apos;t have any kind of border plugin. Just two griefers who force the server to constantly generate new chunks and everything becomes unplayable.&lt;/p&gt;</comment>
                            <comment id="67150" author="bljat" created="Sat, 18 May 2013 14:57:22 +0200"  >&lt;p&gt;No answer on querry, assuming no longer an issue.&lt;/p&gt;</comment>
                            <comment id="58686" author="kumasasa" created="Wed, 3 Apr 2013 21:26:22 +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>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Unconfirmed]]></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="10305"><![CDATA[Creative]]></customfieldvalue>

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

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