Memory Leaks
We deploy MCEDU 1.21.10 to our students through Intune to play multiplayer on Win11. Example PC is running Win11 Enterprise V10.0.22631 on a Ryzen 3 2200G. The game suffers consistent major memory leaks that start from when the program launches. After opening the game, RAM usage gradually grows even when AFK in the main menu. Over the course of about 5 minutes, the RAM grows to roughly 8gb and sometimes up to 10gb before crashing on a 16gb machine. This happens faster if a world is open even with minimum graphics settings. This happens on both standard and 32bit variants of MCEDU with the 32bit version crashing once it reaches roughly 4gb.
-
Hey there!
Sorry to hear you are running into some issues with memory leaks with Minecraft Education.
What sort of in-game things do you notice due to this increased RAM usage. Do have lagging experiences? Does the game crash at all? Does multiplayer have issues?
Also, how many users are experiencing this?
It could be worth backing up your worlds, uninstalling and reinstalling Minecraft Education to see if that helps the issue at all as well.
1 -
it happened to my survival world
0 -
Besides the slowly increasing RAM, the game functions as normal. The game does lag once the RAM fills up and things start spilling over into virtual memory. This only seems to apply to certain machines, but im still trying to find out what the difference is between them. Also, on the machines the leak is present, it only seems to be a problem half of the time. Often, ill start the game and notice the memory is increasing. Other times it stays completely stable for the entire session at roughly 1gb. The only thing im doing between these tests is a full system restart.
0 -
Stephen Llewellyn, if you can isolate the model of PC that it's happening on, it could potentially be a driver issue of some sort.
I take an affected model, and try a few things to see if you can narrow down the issue. I'd escalate as follows and testing MCE at each step.
1. Try a refresh of the device through InTune. I'd check what drivers it's pushing to the device. If it's a general sort of driver, rather than a specific one that's best suited for the device, I'd hunt down the better driver and try that.
2. Push a full Windows update to the device, including drivers.
3. Uninstall and Reinstall Minecraft Education. Try different versions of MCE (Store .appx version vs .exe install).
4. Nuke it. Unenroll the device from InTune, wipe device and reinstall Windows 11 without InTune as a standalone device. Update drivers. Bare bones, don't install any other apps. Build it back up from there and see if and when issues start appearing.
In my experience with issues like this, it's typically turned out to be a drive incompatibility. Depending on how Intune was configured, it may be pushing a device driver to all PCs, and one model doesn't like it.
I'd also check and make sure no one is using any .mcaddons, packs or mods. They can occasionally cause some pretty bad corruptions.
Let us know how you make out.0 -
Hi folks,
I've been suffering the exact same memory leak problem for around a week and I might have nailed down what was causing this problem.
This issue was resolved when I turned off "Improved Input Response" option under Video Settings. Please note that you might need to restart your Minecraft Education App after turning this option off.

I am not super sure this is the only solution for this issue but hope it will work with other's situation.
1 -
I can confirm Yosuke's solution worked. Turning off "Improved Input Response" immediately solved the RAM leak after restarting Minecraft. This applied to both the .exe and .appx versions. I'm still not sure whether this is a software bug or a hardware/driver issue but its probably still worth elevating to a bug report.
0 -
Oh wow that is great to hear! Thanks so much Yosuke and everyone for this dialogue, I will for sure make note of this to help others reporting this in the future!
0
Please sign in to leave a comment.
Comments
7 comments