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

Debug overlay mislabels memory units

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.15.2, 20w51a, 1.17.1, 24w39a
    • None
    • Confirmed
    • Debug, UI

      The debug display shows the memory usage using MB (Megabyte = 10^6 bytes) as the unit.

      Expected behaviour:

      The memory usage is displayed in Megabytes.

      Actual behaviour:

      In reality it displays MiB (Mebibyte = 2^20 bytes). I've verified that in code where divides the incoming number of bytes by 1024 twice.

       

      And before you ask, yeah I know it's somewhat commonly used that way. But I do consider it an error and it contradicts the SI. I would be fixable by simply adding an "i" in the middle and could also help reduce misuse in other places.

            Unassigned Unassigned
            DasNecro Necro
            Votes:
            5 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: