Shaun Mccran

My digital playground

14
J
A
N
2011

How Android application memory works

A common theme with the Android software platform is memory usage. Googling 'Android memory' will return a load of hits on how to optimise your memory usage, or how to free up more memory.

With the growth of the Application markets for Android I've been encountering more and more memory issues. Users want more Apps, and those Apps are becoming bigger and bigger, or are using third party plugins to run.

To effectively develop for the Android platform you should really consider how the system memory works.

I have a HTC desire, so my example is based on that handset. I know that the memory handling is done at an OS level, so this may be a problem restricted to handsets with limited internal ROM. It would be interesting to hear from users with other handsets, like the galaxy, or the droid.

The HTC desire has 512mb of ROM, and up to 32gig of RAM (expandable by internal micro SD card). RAM is the storage space, whereas the ROM is the application memory. Think of it as the equivalent of the 640k memory block in DOS (way back in distant computing http://en.wikipedia.org/wiki/Conventional_memory). This is the space that the OS loads into, and the GUI layer and pretty much everything that runs the handset.

Out of the 512mb ROM 147.62mb is reserved for applications. This is ring fenced for user installed apps. Neither of these two values are expandable at present, you can shift some of the applications to use RAM space instead using third party apps like app2sd, but they still use some ROM.

So to sum up, you only have 147.62mb of working memory space, for ALL the applications that a user has installed. Bear this in mind when producing applications, or applications that require other platforms to operate, such as Adobe Air or Flash player.

In the next article I'll explore two Adobe technologies, AIR and Flash for Android, and what Android memory footprint they have.

TweetBacks
Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
jasisica's Gravatar http://www.abileneplumbers.org   Some sort of plumbing service services is often function by way of registered plumbing service or maybe a get good at plumbing service. Most commonly it is reasonably readily accessible plumbing service products and services within the spot. In truth, anyone can have more than a few plumbing service products and services to see as soon as picking what kind would work for him or her.

http://www.batonrougeplumber.org   As soon as looking for a plumbing service, a number of us are likely to opt for another person we have been proposed or maybe hunt for a advertising from the products and services a part of your regional classifieds. This tends to connect you with opt for another person pretty much at random , in addition to most people tend not to are likely to ask around practical knowledge. Even so, practical knowledge is amongst the biggest facets as soon as buying a plumbing service in to the future in the house to try and do a position.

http://www.theorieslandscapes.org   To be a landscaped custom made in addition to guide, persons generally arise to my opinion having a lot of issues about the lawn complications in addition to what exactly they will complete in order to resolve these individuals. Since i are typically some sort of societal style of gentleman, It's my job to spend some time to attempt to remedy the issues for him or her then and there, although most likely it's wise i always stop by their apartment and discover intended for myself personally what exactly this actual difficulties are.
# Posted By jasisica | 02/09/2015 01:07
Back to top