mojira.dev
MC-184981

Debug overlay mislabels memory units

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.

Attachments

Comments 4

Can confirm in 20w51a.

Can confirm in 1.17.1.

This has been fixed as of 26.1 snapshot 8:

2026-10-16_03.39.41-20261016-004532.png

I can confirm that this issue was fixed in 26.1 Snapshot 8. Resolving as fixed.

migrated

(Unassigned)

Confirmed

Debug, UI

1.15.2, 20w51a, 1.17.1, 24w39a

26.1 Snapshot 8

Retrieved