On Apr 12, 2012, at 12:24 PM, michelw wrote:
> 04-12 16:22:13.907 E/dalvikvm-heap(  800): 843000-byte external allocation 
> too large for this process.
> 04-12 16:22:13.907 E/        (  800): VM won't let us allocate 843000 bytes
> 
> My VM crash with pic >= ~ 850 Ko only.....

You need to also know how much has been previously allocated, e.g. a preceding 
GC_EXTERNAL_ALLOC message. If you're just under the limit, a 1 byte allocation 
can still fail.

Even with 850KB allocations, you can only allocate ~37 images before you're out 
of memory.

How many images are you trying to show at once? Is this bounded in any way? If 
using an Adapter, is Adapter.GetView() reusing the convertView? If the View 
contains an image, are you disposing of the image before updating it with a new 
image?

Thanks,
 - Jon

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to