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

Massive lag when idle in world

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13, Minecraft 1.14.3 Pre-Release 2, Minecraft 1.14.3
    • None
    • Minecraft 1.13-pre2 vanilla
      Mem: 1024MB
      CPU: 4x Intel(R) Core(TM) i7-6500U CPU @ 250GHz
      Display: Intel(R) HD Graphics 520
    • Community Consensus
    • Performance

      The bug

      The world began lagging a lot after being in the world for only a few minutes (up to 2 tps). Several warnings were getting spammed in chat.

      Something's taking too long! 'root.levels.Lag Testing 3.tick.chunkMap' took aprox 175.17683 ms
      Something's taking too long! 'root.levels.Lag Testing 3.tick' took aprox 377.796249 ms
      Something's taking too long! 'root.levels.Lag Testing 3' took aprox 379.229534 ms
      Something's taking too long! 'root.levels' took aprox 380.05798 ms
      Something's taking too long! 'root' took aprox 381.170078 ms
      
      Something's taking too long! 'root.levels.Lag Testing 3.tick.chunkMap' took aprox 120.998022 ms
      Something's taking too long! 'root.levels.Lag Testing 3.tick.entities.regular' took aprox 110.506359 ms
      Something's taking too long! 'root.levels.Lag Testing 3.tick.entities' took aprox 111.198113 ms
      Something's taking too long! 'root.levels.Lag Testing 3.tick' took aprox 278.788566 ms
      Something's taking too long! 'root.levels.Lag Testing 3' took aprox 280.338789 ms
      Something's taking too long! 'root.levels' took aprox 281.087037 ms
      Something's taking too long! 'root' took aprox 282.027284 ms
      
      Something's taking too long! 'root.levels.Lag Testing 3.tick.tickBlocks.pollingChunks.tickBlocks' took aprox 2000.871902 ms
      Something's taking too long! 'root.levels.Lag Testing 3.tick.tickBlocks.pollingChunks' took aprox 2003.750324 ms
      Something's taking too long! 'root.levels.Lag Testing 3.tick.tickBlocks' took aprox 2004.084547 ms
      Something's taking too long! 'root.levels.Lag Testing 3.tick.chunkMap' took aprox 165.035982 ms
      Something's taking too long! 'root.levels.Lag Testing 3.tick.entities.regular' took aprox 104.508922 ms
      Something's taking too long! 'root.levels.Lag Testing 3.tick.entities' took aprox 105.421911 ms
      Something's taking too long! 'root.levels.Lag Testing 3.tick' took aprox 2296.07411 ms
      Something's taking too long! 'root.levels.Lag Testing 3' took aprox 2297.31263 ms
      Something's taking too long! 'root.levels' took aprox 2297.937618 ms
      Something's taking too long! 'root' took aprox 2298.715495 ms
      

      This happened even when standing still and not causing any block updates.

      How to reproduce

      1. Create a new default world
      2. Wait a few minutes
      3. Run /debug start
      4. After a few seconds run /debug stop
        → The chat says the game is running at about 1-5fps
      5. Look in the game log
        → You should see similar warnings as above

      Notes:

      • This issue is also reproduce-able in superflat worlds, although while the warnings are still showing up, the lag is less significant.
      • Rejoining the world or reloading the chunks (f3+A) causes the lag to disappear, but only temporary.

            Unassigned Unassigned
            Misoloo [Helper] Misode
            Votes:
            23 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: