On Tue, Feb 9, 2010 at 4:11 PM, aspekt9 <aspe...@gmail.com> wrote: > I'm not sure how relevant it is, but I put in some debug code then > checked the logcat output and the MapView is repeatedly calling the > draw() method of the Overlay whether anything has changed or not. This > is happening several times a second and is causing a massive amount of > garbage collection to happen (2-3 MB every second).
I had a similar problem and the only solution I could find was to put a bit of query logic at the top of my expensive draw() code to see if anything had changed. Turned out to be a bit complicated, but necessary. Maybe there's a better way. -T -- 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