None of the tools I know work well with images and I'm not sure how to improve that. One way might be to use adb shell tools like dumpsys and compare the numbers over time, I heard. Not very convenient.
I'm checking the difference between PNG8 and PNG24 now. From my understanding this could save some memory. BR, Seb On Fri, Jun 18, 2010 at 5:00 AM, Nathan <critter...@crittermap.com> wrote: > Are any of those tools helpful with bitmaps? > > I've analyzed an HPRof where all the bitmaps are taking up32 bytes. > that would be nice if it were true. I know that bitmaps are not on the > regular heap, so the tools don't seem to find them. > > Since the bitmaps are marked as purgeable, they could be taking only > 20K bytes, or as much as 256K bytes, so there is a wide range. > > Nathan > > On Jun 17, 8:35 am, Sebastian Roth <sebastian.r...@gmail.com> wrote: > > Yup. We've been running in that case too many times. > > Invest in a good tool like Yourkit, use HPROF Heap dumps to find the > objects > > with the sticky connects to JVM root and prepare to spend nights on > trying > > again and again.. > > > > I recommend writing automated Unit-Tests for that as well. So that you > can > > call certain activities 100 times and see whether they retain in memory > or > > not. Very helpful for us. > > > > Also check basics like background pictures can be encoded as JPG instead > of > > PNG to save some memory... > > > > BR > > > > -- > 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