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

Exploring chunks will cause memory leak

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.20.1, 1.20.2
    • Unconfirmed
    • Performance

      EDIT: Make sure to update your java version, I had an older version for java 17, it greatly helps
      SIDE NOTE: MINECRAFT STILL USES MORE MEMORY THEN ALLOCATED, BUT I NO LONGER HAVE MEMORY LEAKS.
      Also, apologies to the staff, I did not intend to reopen this report, apologies

      Bug: Not sure about any other OS, but on arch linux, memory usage is going past the allocated amount and rendered chunks aren't unloaded from memory leading to minecraft consuming all your memory if you load enough chunks.

      Steps to reproduce: Im on arch linux, don't know if this will work for other OS. Load any world and start loading/rendering chunks that haven't been loaded onto the memory. (e.g flying in a straight line). The chunks have to be rendered in order to recreate it.

      Observed Result: Memory usage starts to go up past the allocated memory and chunks aren't unloaded from memory.

      Expected Result: Memory won't go over the allocated limit and chunks should be unloaded from memory when not rendered.
       

        1. 2023-12-04_11-44.png
          1.20 MB
          MysticAstrol
        2. ArcoLinux_2023-08-22_16-33-06.png
          268 kB
          MysticAstrol
        3. ArcoLinux_2023-08-22_16-37-07.png
          278 kB
          MysticAstrol

            Unassigned Unassigned
            MysticAstrol MysticAstrol
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: