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

Unloading chunks with many tile entities causes client-side lag spike


    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.11
    • None
    • CSP/SMP
      multiple versions of macOS and Linux, including macOS 10.12.1
    • Confirmed

      Unloading a chunk with many tile entities (containers with contents) in it will cause a lag spike. These lag spikes affect the client even in multiplayer. Since loading these chunks does not cause a similar lag spike, I believe that the garbage collector is causing this.

      Steps to reproduce:

      1. Place around 2000 chests or other containers in the same chunk column.
      2. Fill them with items.
      3. Move away from the containers.
      4. As the containers leave your view distance, observe a period of several seconds where the game visually freezes completely.

            Unassigned Unassigned
            fenhl Fenhl (Max Dominik Weber)
            1 Vote for this issue
            2 Start watching this issue