Hi!! Dear All, I have an app that contains many Activity. (ex: i got 10 Activity which be named a1,a2,a3,,,,,a10)
and all of the Activity(a1,a2,a3,,,,a10) have background like this. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:background="@drawable/bg_normal"> </LinearLayout> and a1 will redirect to a2, a2 to a3, a3 to a4, ..... then......the problem is happened.... 【OutofMemoryError: bitmap size exceeds VM budget (Android)】 I think the problem is background...... I know how to unbindDrawable or recycle a bitmap, but how to release the memory after I change activity 【startActivity(aX,aY)】. I have tried to 【view.getBackground().setCallback(null)】 at onPause(). but the heap is still not released....... Does anyone know how to solve this problem? or have a better suggestion? -- 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