title: Dalvik memory allocation
body: <p>Is there any way, how to <strong>programatically</strong> (like allocating and filling some array) check, how much memory can Dalvik allocate before <code>OutOfMemoryError</code> appears? Is it possible to do it with Java?</p>