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 <[email protected]> wrote: > It could also be a memory leak in your application. > > On Tue, Sep 7, 2010 at 12:06 PM, [email protected] > <[email protected]> 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 <[email protected]> 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 [email protected] > > To unsubscribe from this group, send email to > > [email protected]<android-developers%[email protected]> > > For more options, visit this group at > > http://groups.google.com/group/android-developers?hl=en > > > > > > -- > Romain Guy > Android framework engineer > [email protected] > > 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 [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

