How much memory can i safely use on android?

Posted by xastor on Game Development See other posts from Game Development or by xastor
Published on 2012-10-18T08:08:38Z Indexed on 2012/10/18 11:15 UTC
Read the original article Hit count: 139

Filed under:

To make my game more fluid, I try to prevent memory allocations during the game I am writing. To that end, I allocate a whopping 16MB of buffers on startup and then use those as I go along. When I check in Eclipse my game now uses 24MB in total, which does not change noticeably during the game.

This all works fine on the phone I have now (android 2.3, motorola defy) but I wonder if I'm going to run into problems with this on other phones or tablets that run android 2.2 or higher (which is what I'm aiming for)?

© Game Development or respective owner

Related posts about android