Forums Register Login

How to get more allowed memory usage

+Pie Number of slices to send: Send
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.
Are you here to take over the surface world? Because this tiny ad will stop you!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 920 times.
Similar Threads
App startup issue: Getting objects into an L2 cache.
Alternative to TimesTen
Can a iPhone app sync data with a desktop application?
How are you using Clojure?
need advice from developers of smaller J2EE apps with PostgreSQL
Increase in Memory usage for Server Process
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 01:52:47.