• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get more allowed memory usage

 
Rasse Basse
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I am creating this game for android and I have a few question about memory usage. When we were coding within our ignorance we had our app using about 40mb memory but that made a test phone crash (Xperia Arc (something, something)) which went out of memory. We then coded it smarter with the memory and got to about 20 mb. We have googled alot and we've seen peoples posting that most mobile phones are limited to 16 mb and others 32 mb. BUT, we've also compared with other applications like angry birds, which are using about 129 memory (which works fine on the Xperia arc that crashes over 32 mb with our app).

My question is then; can we somehow get to use more memory than 16 / 32 mb or how does the apps that uses way more do?

Another thing that we're doing is that we're loading all images currently used in the main constructor of the app, and maybe a solution would be to load them inside a background thread?


Thanks a lot for reading this and thanks advance for your probably awesome replies.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic