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

Custom Overlay Textures are Not Cleared Out of The Memory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.3
    • None
    • Windows 11
    • Unconfirmed
    • (Unassigned)

      When a custom overlay is present in resource pack and is referenced by the data pack, that texture is loaded into the RAM. However, it seems like the game never clears them out even quitting the world, nor does it appears in the memory counter in the F3 debug screen.

      How to reproduce

       

      1. Open up Task Manager to monitor the RAM used by Minecraft.
      2. Prepare a lot of custom overlay textures, and display them one by one in game on screen.
      3. Note that the RAM used by Minecraft, according to the Task Manage, increases rapidly. However the value is only a little according to the debug screen.

      The attached recording.mp4 has this process recorded. In the video, I have a 1080p frame played on every game tick (20fps).

       

      4. Now quit and save the world. Check the Task manager, and the RAM is still not cleared. (See Quitting the World.mp4 for this one)

      Expected Result:

      The game should clear the memory used by custom overlays out of the memory.

       

      Additional Information:

      1. Exit the game will free the memory
      2. Unload the resource pack will free the memory

       

       

        1. Quitting the World.mp4
          1.89 MB
          Dahesor
        2. recording.mp4
          9.45 MB
          Dahesor

            Unassigned Unassigned
            Dahesor Dahesor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: