Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-94582

Server lag during night (large amount of hostile mobs)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • Minecraft 15w50a, Minecraft 15w51b
    • None
    • Windows 10 x64, Linux CentOS x64, JRE7, JRE8
    • Unconfirmed

      Server tick will increase up to 400ms or more during night especially, thus we monitored the java program using YourKit Java Profiler and noticed that it may be caused by the AI program of hostile mobs (in ayo.class, since obfuscated, and this is only a guess).

      Further tests are done on other mobs like large amount (~50) of chickens, cows, etc. And the server won't lag during the day.

      The attached screenshot records several seconds when the avg tick ~ 300ms or more during night.

            Unassigned Unassigned
            JimmyZJX JimmyZJX
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: