mojira.dev
MCPE-179496

Memory leak when the "Improved Input Response" option is 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 consumes most of your available RAM, causing significant FPS drops. This occurs in both new and old chunks.

If the game is launched in fullscreen mode, the issue is significantly worse. RAM usage begins to increase by 100 MB per second in the main menu, and opening a world results in all RAM being consumed within a minute.

When the game is closed, it continues to run in the background, slowly reducing RAM usage. During this time, game sounds like music can still be heard, and you cannot reopen the game, as it states the game is still running. Eventually, all RAM is freed, and the game actually closes.

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 33

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]
23 more comments

Steps:
Launch Minecraft Bedrock > go to Settings > scroll down to the Creator settings > on the right, enable the "Enabled Memory Override" option to Super High. Note: If your system has less than 16GB of RAM, then recommended memory override setting will be on High or Medium.

Thanks for the steps but my option is grayed out but after disabling the imp. input response i havent gotten memory leaks i was afraid it would probbly lag sm other time cause i was experiencing lags and mem leaks sometimes and not always.

Thank you for your patience while we continue to work on this issue. We’re actively investigating and hope to have it resolved as soon as possible.

My “Improved Input Response” setting cannot be turned off (the switch is disabled so I cannot flip it to the off position). I tried enabling memory override (and restarting the game) and that also did not fix the issue.

Earlier this morning, when I started the game, it said it was having trouble signing into my Xbox account, but I was still able to login. When I played, the memory issue did not happen. So I think whatever issue is happening is related to (or triggered by) the Xbox account

The “Improved Input Response” setting is off and I’m still having this issue causing the encoder in OBS to overload! I’ve turned the encoder settings down to (as far as I can tell) absolute minimum and after about half an hour, the encoder overloads constantly. It’s ruined my audio and video quality.

[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.94 Hotfix, 1.21.130.24 Preview, 1.21.120, 1.21.123 Hotfix, 1.21.124 Hotfix

1.21.130.28 Preview

Retrieved