Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AudioManager leak (samsung) #32

Closed
Lakedaemon opened this issue May 10, 2015 · 3 comments
Closed

AudioManager leak (samsung) #32

Lakedaemon opened this issue May 10, 2015 · 3 comments

Comments

@Lakedaemon
Copy link

org.lakedaemon.android.activity.RxWordActivity has leaked:
* GC ROOT static android.media.AudioManager.mContext_static
* references android.app.ContextImpl.mOuterContext
* leaks org.lakedaemon.android.activity.RxWordActivity instance
* Reference Key: 4ab479ea-2267-4b99-b384-767157abf988
* Device: samsung samsung GT-I9305 m3xx
* Android Version: 4.4.4 API: 19
* Durations: watch=5021ms, gc=161ms, heap dump=695ms, analysis=24326ms

I'll post a heap dump as soon as I figure out where to find it/how to do it

@Lakedaemon
Copy link
Author

Mmmh, found your nice "leaks" android app.
Sharing the leak with dropbox works but not sharing the heap dump
Couldn't save the hap dump with es_file_manager "save to" too :/

@pepyakin
Copy link

@Lakedaemon saving is fixed with #27

@pyricau
Copy link
Member

pyricau commented May 10, 2015

In the meantime, you can use adb shell "run-as com.your.packagename cp <source> <dest>" to copy the heap dump to your sd card.

This looks like a samsung-ism ("mContext_static", really??!). We should probably ignore it on API 19 + Samsung and hope Samsung fixed it in later releases.

@pyricau pyricau mentioned this issue May 10, 2015
Yky pushed a commit to Yky/leakcanary that referenced this issue Feb 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants