Monday, May 6, 2013

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


On Mon, May 6, 2013 at 2:05 AM, Piren <gpiren@gmail.com> wrote:
Is it just me, or lately everyone in this forum expect other people to do their work for them? WTF?

Just lately? =P

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

android:largeHeap="true"

No, it sounds like he needs to follow Piren's advice.

To quote the documentation for that flag:

Most apps should not need this and should instead focus on reducing their overall memory usage for improved performance. Enabling this also does not guarantee a fixed increase in available memory, because some devices are constrained by their total available memory.

This dude was trying to load 2000 - that's thousand - images on a platform designed for mobile devices. I don't care how large you set your heap to. That shit ain't gonna fly.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

--
--
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