While playing the game, you might have encountered this type of error message:

 

This error is shown when the operating system fails to allocate memory needed by the application. This can be either because of memory being fragmented or full. As such, it is more likely to occur on devices with low RAM.
This error has been added manually in order to avoid a system crash (back to home screen without any message) and occurs only if the memory allocation failed more than 15000 times in a row. At this point, there is no hope of recovery.


If you encounter this issue, the following ideas can help you :
- shut down your device and power it up again minutes later
- make sure Dead Cells is the only application in memory (nothing running in the background)
- shorten game sessions, restart the game or even your device between two game sessions in order to clean the memory

If you own a device with a relatively recent Android version, you may have activated the Virtual Memory Extension. Even though it looks promising (https://mobilityarena.com/what-is-extended-ram-in-mobile/), this extension is not fitting for all usage and can provoke issues.
A reddit user (https://www.reddit.com/r/deadcells/comments/10e64j5/for_android_players_with_memory_allocation_error/) reports he eradicated his memory issues by disabling the memory extension option.
The availability or location of this option can vary according to your OS and device manufacturer.

We are always working on more optimisation for the game but for now these are the best ways to work around these errors. 

You can also try these troubleshooting steps:

Please make sure that your device and OS are fully updated and that you have installed the latest version of the game as well as the latest update of all Google Play apps. It might help to clear cache from these apps and from your device then reboot your device (turn it off and wait five minutes before turning it back on) and try relaunching the game.