mojira.dev
MCPE-179496

Memory leak when loading chunks with the "Improved Input Response" option enabled

Steps to Reproduce:

  1. Enable the "Improved Input Response" option in Settings > Video

  2. Restart the game

  3. Create a new world

  4. Fly around the world for a while

  5. Observe the RAM usage in Task Manager

Observed Results:
The RAM usage keeps increasing as the player loads chunks. Eventually, the game uses up most of your available RAM. This occurs in both new and old chunks.

Expected Results:
No memory leaks should occur.

Linked issues

MCPE-186394 Minecraft consumes excessive amounts of RAM. Resolved MCPE-187296 High render distance uses A LOT of memory Resolved MCPE-187299 High render distance memory leak Resolved MCPE-188300 RAM saturation Resolved MCPE-188520 Minecraft starts off consuming little but its consumption will increase every second Resolved

Attachments

Comments 7

A user is telling me this also happens on the main menu.

Also experiencing it (on version 1.21.2) when enabling beta-apis. Required a hard re-install of Minecraft after disabling enhanced input to eliminate this issue on vanilla worlds that had the Beta APIs checkbox enabled.

Can Confirm

[media]
[media]

Can confirm on 1.21.31 hotfix. Disabling "Improved Input Response" and restarting the game fixed the high memory usage and leak. 

When I first open Minecraft:

[media]

When I'm in a world with a high render distance with "Improved Input Response" on.

[media]

After exiting the world:

[media]

I have the same issue. I play on Minecraft Bedrock, and it is eating 12GB RAM to 16GB RAM. I only have 5 Add-Ons active.

CPU: Intel Ultra Core 9 285K
GPU: RTX 4060 Ti
RAM: 32GB 4800 MT/s

I too am experiencing this, Disabled Improved Input Response and the memory leak stops.

[Mod] OcelotOnesie

(Unassigned)

1211913

Confirmed

Windows

1.21.130.20 Preview, 1.21.120.22 Preview, 1.21.82 Hotfix, 1.20.62 Hotfix, 1.20.80.21 Preview, ..., 1.21.2 Hotfix, 1.21.23 Hotfix, 1.21.31 Hotfix, 1.21.44 Hotfix, 1.21.94 Hotfix

Retrieved