[android-developers] Re: OutofMemoryError on Thunderbolt: HttpClient.execute

Is there anyway to change the global settings for buffer size?

There are some connections I don't control, such as the dispatch on
Google Analytics.

Nathan

On Mar 29, 2:36 pm, Nathan <critter...@crittermap.com> wrote:
> On Mar 29, 2:20 pm, Mark Murphy <mmur...@commonsware.com> wrote:> On Tue, Mar 29, 2011 at 5:15 PM, Nathan <critter...@crittermap.com> wrote:
> > > Until I got a recent log, I didn't know how much it was trying to
> > > allocate - 2Megabytes. That seems awfully greedy when you have a 16M
> > > heap - multiple downloads in a row without triggering garbage
> > > collection are sure to bring you down. I'm happy to allocate less
> > > since I'm only downloading 69K files.
>
> > I think theThunderboltshould have a larger heap than 16MB -- 24MB
> > would be my guess.
>
> In practice, my stack traces are showing 16M heap because there is up
> to 8Meg of bitmap memory in use. And that is with my bitmaps on a diet
> - which was the first thing I did when seeing OutOfMemory errors.
>
> Nathan

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