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

Reloading a resource pack enough times will cause intense lag

    XMLWordPrintable

    Details

    • Confirmation Status:
      Confirmed
    • Category:
      Rendering, Resource Packs
    • Mojang Priority:
      Very Important

      Description

      Reloading a resource pack enough times will cause intense FPS stuttering. This occurs very consistently with a pack that has a big enough atlas (I believe). I have attached a video and a demo resource pack showing this issue. It is very detrimental to resource pack creation and the only way to temporarily fix is to restart the game. The generated atlases include one which is 8192x8192. I attached a screenshot of the atlas sizes as well.

      After reloading about 8 times, my game was at under 2 fps and the fps tracker was solid red (see attached screenshot).

      To reproduce, load the attached resource pack, create a void world, and then keep reloading. It should get unplayable within about 5 reloads.

        Attachments

        1. MemoryLeak.png
          MemoryLeak.png
          1.26 MB
        2. RPReloadAtlas.png
          RPReloadAtlas.png
          15 kB
        3. RPReloadIntenseLag.png
          RPReloadIntenseLag.png
          81 kB
        4. RPReloadLag.mp4
          7.79 MB
        5. RP Reload Lag.zip
          1.43 MB

          Issue Links

            Activity

              People

              Assignee:
              boq [Mojang] Bartosz Bok
              Reporter:
              onnowhere Onnowhere
              Votes:
              18 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: