Saturday, July 23, 2011

[android-developers] Memory allocation

Is there a method or object I can override that will root all the memory allocation performed by my application through to something I can control...this would include any views and objects I reference.  I have a problem where a background thread loads images in the background, as I scroll through the list view, if I scroll quickly it can sometimes bomb the applications.  Checking the log it appears the application is running out of heapspace.  The application is ok, but I want to capture this find of thing to prevent the application from crashing out.

--
Regards,
Sy

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment