Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It is hard to tell without complete source code exactly what is happening, but perhaps Romain Guy's answer <a href="https://groups.google.com/forum/?fromgroups#!topic/android-developers/G_ngkPTOfRo">here</a> on Google Groups will help.</p> <blockquote> <p><code>onLowMemory()</code>is called when the entire system is running out of memory, not when your process is running out of memory. Each app is limited to a fixed amount of RAM (24 MB on a Nexus One for instance). If you use up these 24 MB but the system still has more RAM available, you will get an<code>OutOfMemoryError</code>but not<code>onLowMemory()</code>.</p> </blockquote> <p>The 24mb limit is pretty much set in stone for applications on &lt; Honeycomb. If you are targeting API 11 or higher you can ask for more memory by declaring that a large heap be allocated for your application. It is not mentioned in documentation but adding <code>android:largeHeap="true"</code> to your <code>application</code> tag in your Manifest.xml will do this (although it is not guaranteed).</p> <p>Note: on modified firmware (custom ROMs) it is possible for that value to be lower or higher. I believe on the Samsung Galaxy Nexus it is 48mb by default, but as a general rule staying within 24mb is a safe assumption. There is also a <a href="http://developer.sonymobile.com/wp/2012/03/30/learn-about-the-technical-differences-between-gingerbread-and-ics/">great post</a> on the Sony Ericsson explaining the technical differences between Gingerbread and Ice Cream Sandwich (RAM is a topic covered in-depth).</p> <p>Good luck, I hope this at least helps you track down the issue.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload