Open lydavid opened 7 months ago
┬─── │ GC Root: Global variable in native code │ ├─ android.service.notification. │ NotificationListenerService$NotificationListenerWrapper instance │ Leaking: UNKNOWN │ Retaining 9.3 kB in 172 objects │ this$0 instance of ly.david.musicsearch.android.feature.nowplaying. │ NowPlayingNotificationListener │ ↓ NotificationListenerService$NotificationListenerWrapper.this$0 │ ~~~~~~ ╰→ ly.david.musicsearch.android.feature.nowplaying. NowPlayingNotificationListener instance Leaking: YES (ObjectWatcher was watching this because ly.david. musicsearch.android.feature.nowplaying.NowPlayingNotificationListener received Service#onDestroy() callback and Service not held by ActivityThread) Retaining 8.7 kB in 171 objects key = fde4f1ee-680d-40c3-82c9-62610322455b watchDurationMillis = 108197 retainedDurationMillis = 103193 mApplication instance of ly.david.mbjc.MusicSearchApplication mBase instance of android.app.ContextImpl METADATA Build.VERSION.SDK_INT: 34 Build.MANUFACTURER: Google LeakCanary version: 2.14 App process name: io.github.lydavid.musicsearch.debug Class count: 33440 Instance count: 261845 Primitive array count: 167154 Object array count: 37936 Thread count: 33 Heap total bytes: 32966208 Bitmap count: 10 Bitmap total bytes: 39690 Large bitmap count: 0 Large bitmap total bytes: 0 Db 1: open /data/user/0/io.github.lydavid.musicsearch. debug/databases/musicsearch.db Db 2: open /data/user/0/io.github.lydavid.musicsearch.debug/databases/chucker.db Stats: LruCache[maxSize=3000,hits=131001,misses=256930,hitRate=33%] RandomAccess[bytes=12800838,reads=256930,travel=91798714219,range=40127744,size= 49447879] Analysis duration: 26107 ms
still leaking