I have seen the same issue - and I suspect a memory leak.  What would be
best way to track something like this down?

j

On Tue, Sep 7, 2010 at 3:08 PM, Romain Guy <romain...@android.com> wrote:

> It could also be a memory leak in your application.
>
> On Tue, Sep 7, 2010 at 12:06 PM, blahblah...@gmail.com
> <blahblah...@gmail.com> wrote:
> > It's happening on the emulator when running 2.0 or 2.2. No
> > compatibility mode AFAIK. I just did some testing and we are still
> > getting OutOfMemoryError after changing screen orientation 3 times -
> > it always gives the error the third time even though I added gc();
> > runFinalization(); gc() just before the createBitmap. I'm thinking it
> > must be either a memory leak in Android or heap fragmentation. So far
> > I don't have any workaround.
> >
> > On Sep 3, 2:40 pm, Matt Kanninen <mathias...@gmail.com> wrote:
> >> I found OutOfMemory Bitmap errors happened more frequently when I had
> >> a compatibility mode set.  Although that was just on the Moto Droid,
> >> on Android 2.1, back in December.
> >
> > --
> > 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+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
> >
>
>
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them
>
> --
> 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+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to