Friday, May 22, 2020

You are programming a mobile device. Face it, your available memory is small, deal with it.

You are programming a mobile device. Face it, your available memory is small, deal with it.

Leandro Pérez provides real-world things to keep your memory small, and hints on what to do when you run out.


My favorite part of this entire article is the recommendation for when you hit low memory state, you save the users' data. Low memory, and occasional crashes from it, happen. You want your users not to be upset when it does, so saving the data, and restarting cleanly, will go a long way to keeping your customers happy.

No comments:

Post a Comment