On Wed, Jun 22, 2011 at 3:57 PM, 4future <[email protected]> wrote:
> I've a problem with my android. first i wrote an aplication in C
> language (for pc), which use lot of RAM memory - about 500 MB for
> tables. then I try to rewrite the same code for android in Java
> (eclipse)... and the problems starts
>
> it has taking a lot of time to create (on htc desire hd) static tables
> (the same size = 500MB) - first I think that is working but...then
> somebody told me that single aplication on andriod can only use 24 MB
> RAM memory. it is true?

The heap space varies from 16MB to 32MB, depending on device and OS
version. Honeycomb tablets might go a bit beyond this, but nowhere
near 500MB.

> how to make this size bigger?

You don't.

Instead, write a more efficient application that does not need 500MB
of RAM. Aim for 5MB. Even 500MB of *storage* would be massive for a
mobile app.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in London: http://bit.ly/smand1, http://bit.ly/smand2

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to