You are in the final circle of a battle royale or about to clear a difficult boss, and without warning, you are staring at your phone’s home screen. The game did not freeze, and you did not receive an “App has stopped” error message. The game simply vanished.
When an Android game closes automatically while playing, it is rarely a random glitch. Most of the time, this is an intentional action executed by the Android Low Memory Killer (LMK) daemon or thermal protection governor. Android prioritizes core system functions and calls over foreground applications when RAM or thermal limits are breached.
Understanding Android’s Low Memory Killer (LMK)
Unlike a Windows PC, which uses a paging swap file on your storage drive when it runs out of physical memory (RAM), Android enforces a strict process hierarchy. Every application running on your device is assigned an Out of Memory (OOM) score. When available RAM drops below a critical threshold, the operating system instantly kills high-memory applications to prevent total system reboot.
How to Prevent Android Games from Auto-Closing
To keep your games running continuously, configure battery optimization and RAM usage settings.
Quick Diagnostic & Troubleshooting Reference Table
| Symptom | Underlying Cause | Recommended Fix | Recovery Time |
|---|---|---|---|
| Silent Crash Mid-Game | LMK RAM Threshold Exceeded | Disable background app refresh & lock game in RAM | 2 Minutes |
| Game Closes when Device is Hot | Thermal Protection Shutdown | Remove phone case; lower graphics preset to medium | 5 Minutes |
| Closes after minimized for 5 seconds | Aggressive Battery Saver Rule | Set App Battery Usage to ‘Unrestricted’ | 1 Minute |