Monday, May 6, 2013

Re: [android-developers] GridView inside ListView giving OutOfMemoryError

You really should not using largeHeap unless you have very good reasons to do so. The large heap feature is meant to be used by applications like photo editors who need to load very large images at once. The more memory your app is using, the more likely it is to be killed when it goes in the background. It will also cause other apps to get killed when in the foreground. This leads to a bad user experience as it might slow down app switching. Be considerate.


On Mon, May 6, 2013 at 9:04 AM, bob <bob@coolfone.comze.com> wrote:
It sounds like you may need to put this in your manifest:

android:largeHeap="true"

Thanks.

--
--
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
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
Romain Guy
Android framework engineer
romainguy@android.com

--
--
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
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment