• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

java + RAM problems

4future

Lurker
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? how to make this size bigger? how to solve this restriction?
please help. 4future.
 
You might have better luck in the development section... I haven't developed for Android yet, but the basic question is: why do you need a 500MB table in RAM? Most devices don't even have that much memory, but what they do have is Flash memory, either in the form of internal memory or an SD card. Flash memory is in one important way different from a traditional HDD: seeking takes no time at all. So if you don't perform thousands of lookups per second, the SD card should work for your lookup table.
 
Back
Top Bottom