Quote:
Originally Posted by Sefiriot
Sounds very good, though to clarify, we are talking about internal device memory and not device RAM, yes? What would the minimum memory requirement be-- DB size + 20%?
|
Hard to know exactly what those words mean.
I am talking about RAM the application uses while it is running, i.e., the heap and the stack. I am not talking about the kind of memory where the database or books live.
From what I can tell, most devices give a running app at least 16MB of working memory. Some get more. Assuming 15,000 books (don't think you have got there but you are trying

), that means that the connection handshake process will consume around 900KB of heap instead of around 120KB. I have no idea if that difference will break something, but it easily could if a device is running at the edge.
It could especially be problematic with Gingerbread devices because garbage collection of bitmaps is basically broken in Gingerbread, causing CC to run out of memory at very inconvenient times. This is why we have so much trouble with devices like the Nook Color. Fortunately for us, at this point only about 5% of CC users run Gingerbread. ICS and up do a much better job.