mojira.dev
MCPE-234238

Game suddenly crashes after 20-30 min gaming sessions due to memory leak

When you enter an world, the RAM usage is seemingly normal, going from 1.5Gb to 2Gb occasionally. after 20 minutes or so of playing normally, the game suddenly starts to lag and the RAM usage starts to spike up, when you're supposed to be playing normally. I've had it reach 6Gb maximum of RAM usage before crashing (my phone has 8Gb of internal memory). Also this ocurrs both on stable versions (starting from 1.21.130 to 1.21.13

1 hotfix) and preview versions (26.0.25 is the only one i tested). I was able to tell it is in fact memory leak due to the preview text display of ram usage on the top of the screen, anyone can test it out too.

The only step to reproduce this is playing the game, the expected result is playing normally without lag or crashing, the actual result is crashing and lagging 😑

Linked issues

Attachments

Comments 5

I am having a similar issue on the iOS version as well. I haven't checked to see if it is a memory leak causing the problem but after playing for 20 minutes or so the game will crash.

Here is the error logs from android on the crashes, I've got to mention that these are all the registered logs, but there were times where the game would just crash and the system didn't save the logs. Each time the app appears on the logs is one individual crash.


Also i forgot to mention, but I've tried everything in my power to fix it or at least avoid it, nothing worked, I've searched it up and everyone was saying it could be V-sync on or improved input response (which is not an mcpe option, being only a PC feature). I tried to lower the memory overwriting on the “Creator” section of the configs but it also didn't work. Anyway, the game is unbearably horrific to play after Mounts of Mayhem.

Resolving as a duplicate of MCPE-233867. Please add any additional information there.

I know there were duplicates of the same problem, but it felt like it was completely ignored

nmfc

(Unassigned)

Unconfirmed

Android

Android 15

26.0.25 Preview, 1.21.130, 1.21.131 Hotfix

Retrieved