0

I've started integration of the LeakCanary and it reported one leak that I fixed. However, through the memory dump, I see that I have multiple instances of my activity. But LeakCanary is silent. I even don't see memory dumping toasts.

Yes, I do register my activity for leak checking through the RefWatcherWrapper.

What might be the issue. How to investigate case?

Eugen Martynov
  • 19,888
  • 10
  • 61
  • 114
  • are you sure that those activities would be leaking? If you have a normal call stack there also can be multiple instances of your activity (e.g. `launchMode="standard"`) – David Medenjak Jan 26 '16 at 18:51
  • I was thinking that I should have one activity instance when I rotate device (I have only one activity in my app) – Eugen Martynov Jan 26 '16 at 20:05
  • Please paste a path2gc excluding weakreferences of your leak. Also make sure you manually trigger the gc before pulling the dump. – barq Feb 04 '16 at 08:54

0 Answers0