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

内存泄露 #2

Open
my19941001 opened this issue Aug 20, 2016 · 1 comment
Open

内存泄露 #2

my19941001 opened this issue Aug 20, 2016 · 1 comment

Comments

@my19941001
Copy link

  • com.mylhyl.acp.AcpActivity has leaked:
    08-20 15:00:37.612 14798-15899/com.yidiankeyan.science D/LeakCanary: * GC ROOT static com.mylhyl.acp.Acp.mInstance
    08-20 15:00:37.612 14798-15899/com.yidiankeyan.science D/LeakCanary: * references com.mylhyl.acp.Acp.mAcpManager
    08-20 15:00:37.612 14798-15899/com.yidiankeyan.science D/LeakCanary: * references com.mylhyl.acp.AcpManager.mActivity
    08-20 15:00:37.612 14798-15899/com.yidiankeyan.science D/LeakCanary: * leaks com.mylhyl.acp.AcpActivity instance
    08-20 15:00:37.612 14798-15899/com.yidiankeyan.science D/LeakCanary: * Retaining: 31 KB.
    08-20 15:00:37.612 14798-15899/com.yidiankeyan.science D/LeakCanary: * Reference Key: b73f960a-f7cf-4dca-937a-1948d976579f
    08-20 15:00:37.612 14798-15899/com.yidiankeyan.science D/LeakCanary: * Device: Xiaomi Xiaomi MI MAX hydrogen
    08-20 15:00:37.612 14798-15899/com.yidiankeyan.science D/LeakCanary: * Android Version: 6.0.1 API: 23 LeakCanary: 1.4-beta2 3799172
    08-20 15:00:37.612 14798-15899/com.yidiankeyan.science D/LeakCanary: * Durations: watch=5045ms, gc=330ms, heap dump=2102ms, analysis=11156ms
    08-20 15:00:37.612 14798-15899/com.yidiankeyan.science D/LeakCanary: * Details:
    08-20 15:00:37.612 14798-15899/com.yidiankeyan.science D/LeakCanary: * Class com.mylhyl.acp.Acp
    08-20 15:00:37.612 14798-15899/com.yidiankeyan.science D/LeakCanary: | static $staticOverhead = byte[8]@852871169 (0x32d5c801)
    08-20 15:00:37.612 14798-15899/com.yidiankeyan.science D/LeakCanary: | static mInstance = com.mylhyl.acp.Acp@855530800 (0x32fe5d30)
    08-20 15:00:37.612 14798-15899/com.yidiankeyan.science D/LeakCanary: * Instance of com.mylhyl.acp.Acp
    08-20 15:00:37.612 14798-15899/com.yidiankeyan.science D/LeakCanary: | static $staticOverhead = byte[8]@852871169 (0x32d5c801)
    08-20 15:00:37.612 14798-15899/com.yidiankeyan.science D/LeakCanary: | static mInstance = com.mylhyl.acp.Acp@855530800 (0x32fe5d30)
    08-20 15:00:37.613 14798-15899/com.yidiankeyan.science D/LeakCanary: | mAcpManager = com.mylhyl.acp.AcpManager@855949504 (0x3304c0c0)
    08-20 15:00:37.613 14798-15899/com.yidiankeyan.science D/LeakCanary: | shadow$klass = com.mylhyl.acp.Acp
    08-20 15:00:37.613 14798-15899/com.yidiankeyan.science D/LeakCanary: | shadow$monitor = 0
    08-20 15:00:37.613 14798-15899/com.yidiankeyan.science D/LeakCanary: * Instance of com.mylhyl.acp.AcpManager
    08-20 15:00:37.613 14798-15899/com.yidiankeyan.science D/LeakCanary: | static REQUEST_CODE_PERMISSION = 56
    08-20 15:00:37.613 14798-15899/com.yidiankeyan.science D/LeakCanary: | static $staticOverhead = byte[16]@853728257 (0x32e2dc01)
    08-20 15:00:37.613 14798-15899/com.yidiankeyan.science D/LeakCanary: | static REQUEST_CODE_SETTING = 57
    08-20 15:00:37.613 14798-15899/com.yidiankeyan.science D/LeakCanary: | mActivity = com.mylhyl.acp.AcpActivity@852325632 (0x32cd7500)
    08-20 15:00:37.613 14798-15899/com.yidiankeyan.science D/LeakCanary: | mCallback = com.yidiankeyan.science.MainActivity$3$1@855530816 (0x32fe5d40)
    08-20 15:00:37.613 14798-15899/com.yidiankeyan.science D/LeakCanary: | mContext = com.yidiankeyan.science.DemoApplication@854326528 (0x32ebfd00)
    08-20 15:00:37.613 14798-15899/com.yidiankeyan.science D/LeakCanary: | mDeniedPermissions = java.util.LinkedList@855949536 (0x3304c0e0)
    08-20 15:00:37.613 14798-15899/com.yidiankeyan.science D/LeakCanary: | mOptions = com.mylhyl.acp.AcpOptions@855949568 (0x3304c100)
    08-20 15:00:37.613 14798-15899/com.yidiankeyan.science D/LeakCanary: | mService = com.mylhyl.acp.AcpService@855530832 (0x32fe5d50)
    08-20 15:00:37.613 14798-15899/com.yidiankeyan.science D/LeakCanary: | shadow$klass = com.mylhyl.acp.AcpManager
    08-20 15:00:37.613 14798-15899/com.yidiankeyan.science D/LeakCanary: | shadow$monitor = 0
    08-20 15:00:37.613 14798-15899/com.yidiankeyan.science D/LeakCanary: * Instance of com.mylhyl.acp.AcpActivity
@mylhyl
Copy link
Owner

mylhyl commented Sep 21, 2016

1.1.7版本已处理

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

2 participants