memory management - External allocation too large for this process in Android -


i'm getting "external allocation large process" errors in app. lots of these @ once:

11-16 10:56:59.230: error/dalvikvm-heap(2875): 1303680-byte external allocation large process. 11-16 10:56:59.230: error/graphicsjni(2875): vm won't let allocate 1303680 bytes 11-16 10:56:59.230: error/dalvikvm-heap(2875): 1536000-byte external allocation large process. 11-16 10:56:59.230: error/graphicsjni(2875): vm won't let allocate 1536000 bytes 

it appears produced while layout being rendered, after loading large bitmaps. errors, however, not produced while bitmap being decoded.

how can debug these errors? additional pointers?

adamp's comment answer in particular case:

the framework capture views onscreen temporary bitmaps drawing performance. looks app pushing right against memory limit , bumps over. take @ other suggestions limiting app's memory usage.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -