Hi, "kohlerm" thats me :-) Thanks for the compliment! Your applications looks cool, and might be something I need within the near future :-) So let's see whether I can help you.
Is there anything I need to do to reproduce the issue? Or maybe you can just send me a heap dump? Regards, Markus On Dec 17, 1:17 pm, freezy <[email protected]> wrote: > Thanks for the interest Matt. Here are some references I found very > interesting regarding memory leaks: > > How to import a heap dump from Android into Eclipse's Memory Analyser Tool > (MAT)http://kohlerm.blogspot.com/2009/04/analyzing-memory-usage-off-your-a... > Good article on how to fix memory leaks in > general:http://java.dzone.com/news/how-fix-memory-leaks-java > Another one (The whole kohlerm blog is pretty > interesting):http://kohlerm.blogspot.com/2009/02/memory-leaks-are-easy-to-find.html > Romain's blog entry on memory leaks in > Android:http://android-developers.blogspot.com/2009/01/avoiding-memory-leaks.... > > I hope that maybe someone else has an idea about what's going on with my > particular problem. > > > > On Wed, Dec 16, 2009 at 8:02 PM, Matt Kanninen <[email protected]> wrote: > > I don't have any advice, I'm just very interested in hearing if and > > how you make an progress diagnosing, debugging and fixing this sort of > > issue. I'm still trying to fix what looks like memory leak in my > > app. All I have succeeded in doing is reducing the total memory used, > > thereby making the bug dramatically less noticeable. > > > Thanks, > > -Matt Kanninen > > > On Dec 16, 8:19 am, freezy <[email protected]> wrote: > > > Hi all, > > > > I'm trying to locate a memory leak in my app (it's client for a > > > mediacenter). So I start it up, go to the screen that lists all movies, > > go > > > back to my home activity, trigger the GC a few times manually via DDMS, > > dump > > > the memory heap, pull it, convert it and load it into MIT in Eclipse. > > > > Now the movie list screen is pretty heavy, around 800k of movie objects, > > > which should be freed when I go back to the home screen. However, it > > stays > > > allocated, with the GC root as a local variable in the main thread at > > > ActivityThread.ContextCleanupInfo > > > (see attached screenshot). > > > > I've tried searching but there is no documentation on this class, not > > even > > > in the source code. Is there any way to avoid this kind of behavior? Am I > > > doing something wrong or is the problem in Android? My app is open source > > > and can be checked out here[1]. > > > > Any hints and suggestions appreciated! > > > > [1]http://code.google.com/p/android-xbmcremote/ > > > > leak-contextcleanupinfo.png > > > 120KViewDownload > > > -- > > 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%2Bunsubs > > [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

