File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Android and the fly likes Android - Memory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Android - Memory " Watch "Android - Memory " New topic

Android - Memory

Mourouganandame Arunachalam
Ranch Hand

Joined: Oct 29, 2008
Posts: 396
How the phone memory has been sliced and used by Android platform? After the initial loading of Android app stack, how much memory would be available for rest of the applications to use, in a standard mobile supported by Android?

Open Source leads to Open Mind
Fred Grott
Ranch Hand

Joined: Oct 05, 2002
Posts: 346
I can answer some of this due to my work on modifying the HomeScreen..

HomeScreen app takes 4*1024*1024 bytes off the stack

MobileBytes blog - Sharing Technology - My Programming Knols
Ed Burnette
Ranch Hand

Joined: Jun 10, 2003
Posts: 142
Currently, there's about 70MB free for installing Android applications on the T-Mobile G1 after a factory reset. The ADP1 should be similar. Everybody agrees this is a pitifully small number, and I've seen dozens of discussions calling for somebody to invent a way to load apps on demand from the SD card, or for future Android phones to provide more space internally.

In the mean time, make your apps small, and if you need big media files (sounds, videos, optional media) consider not packaging them with your app. Instead, try to download and install them yourself to the SD card when the program first runs. "Big" is subjective but as a rule of thumb I think it means "over a meg or two" here.

Ed Burnette, Author of Hello Android
Blog: ZDNet's Dev Connection - Twitter: @eburnette
Mourouganandame Arunachalam
Ranch Hand

Joined: Oct 29, 2008
Posts: 396
Thanks Fred and Ed for sharing the info.
It is sorta covered in the JavaRanch Style Guide.
subject: Android - Memory
It's not a secret anymore!