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.

Screenshots:
After loading chunks for 13 minutes in a new world:

On:

[media]

Off:

[media]

After playing for less than 30 minutes in my Survival world:

[media]

Linked issues

MCPE-180476 Memory leak, RAM usage over 16GB Resolved MCPE-181140 excessive Ram use in single player Resolved MCPE-181266 Minecraft Preview 的内存使用量缓慢但无限制地上升导致帧速率下降 Minecraft Preview's memory usage rises slowly but indefinitely, causing the frame rate to drop Resolved MCPE-182247 Minecraft is using extream amounts of PC memory since the past few days Resolved MCPE-182323 Minecraft Bedrock consumes an incredible amount of ram Resolved

Attachments

Comments 8

[media][media][media][media][media][media][media][media]

Can confirm.

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.

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.

xX_d3stroy3r_Xx

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

[Mod] OcelotOnesie

(Unassigned)

1211913

Confirmed

Windows

1.21.82 Hotfix, 1.20.62 Hotfix, 1.20.80.21 Preview, 1.20.73 Hotfix, 1.20.80, ..., 1.21.0, 1.21.2 Hotfix, 1.21.23 Hotfix, 1.21.31 Hotfix, 1.21.44 Hotfix

Retrieved