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

内存泄漏,麻烦处理下 #17

Open
lovemianhuatang opened this issue Feb 28, 2020 · 0 comments
Open

内存泄漏,麻烦处理下 #17

lovemianhuatang opened this issue Feb 28, 2020 · 0 comments

Comments

@lovemianhuatang
Copy link

462512 bytes retained

├─ android.os.FileObserver$ObserverThread
│ Leaking: NO (PathClassLoader↓ is not leaking)
│ Thread name: 'FileObserver'
│ GC Root: Input or output parameters in native code
│ ↓ thread FileObserver$ObserverThread.contextClassLoader
├─ dalvik.system.PathClassLoader
│ Leaking: NO (Object[]↓ is not leaking and A ClassLoader is never leaking)
│ ↓ PathClassLoader.runtimeInternalObjects
├─ java.lang.Object[]
│ Leaking: NO (RxBus$Holder↓ is not leaking)
│ ↓ array Object[].[5489]
├─ com.cuieney.sdk.rxpay.RxBus$Holder
│ Leaking: NO (a class is never leaking)
│ ↓ static RxBus$Holder.BUS
│ ~~~
├─ com.cuieney.sdk.rxpay.RxBus
│ Leaking: UNKNOWN
│ ↓ RxBus.mBus
│ ~~~~
├─ io.reactivex.processors.PublishProcessor
│ Leaking: UNKNOWN
│ ↓ PublishProcessor.subscribers
│ ~~~~~~~~~~~
├─ java.util.concurrent.atomic.AtomicReference
│ Leaking: UNKNOWN
│ ↓ AtomicReference.value
│ ~~~~~
├─ io.reactivex.processors.PublishProcessor$PublishSubscription[]
│ Leaking: UNKNOWN
│ ↓ array PublishProcessor$PublishSubscription[].[0]
│ ~~~
├─ io.reactivex.processors.PublishProcessor$PublishSubscription
│ Leaking: UNKNOWN
│ ↓ PublishProcessor$PublishSubscription.downstream
│ ~~~~~~~~~~
├─ io.reactivex.internal.operators.flowable.FlowableFilter$FilterSubscriber
│ Leaking: UNKNOWN
│ ↓ FlowableFilter$FilterSubscriber.downstream
│ ~~~~~~~~~~
├─ io.reactivex.internal.operators.flowable.FlowableMap$MapSubscriber
│ Leaking: UNKNOWN
│ ↓ FlowableMap$MapSubscriber.downstream
│ ~~~~~~~~~~
├─ io.reactivex.internal.subscribers.LambdaSubscriber
│ Leaking: UNKNOWN
│ ↓ LambdaSubscriber.onError
│ ~~~~~~~
├─ com.cuieney.sdk.rxpay.wechatpay.WXPayWay$payMoney$1$2
│ Leaking: UNKNOWN
│ Anonymous class implementing io.reactivex.functions.Consumer
│ ↓ WXPayWay$payMoney$1$2.$e
│ ~~
├─ io.reactivex.internal.operators.flowable.FlowableCreate$ErrorAsyncEmitter
│ Leaking: UNKNOWN
│ ↓ FlowableCreate$ErrorAsyncEmitter.downstream
│ ~~~~~~~~~~
├─ io.reactivex.internal.operators.flowable.FlowableSubscribeOn$SubscribeOnSubscriber
│ Leaking: UNKNOWN
│ ↓ FlowableSubscribeOn$SubscribeOnSubscriber.downstream
│ ~~~~~~~~~~
├─ io.reactivex.internal.operators.flowable.FlowableUnsubscribeOn$UnsubscribeSubscriber
│ Leaking: UNKNOWN
│ ↓ FlowableUnsubscribeOn$UnsubscribeSubscriber.downstream
│ ~~~~~~~~~~
├─ io.reactivex.internal.operators.flowable.FlowableMap$MapSubscriber
│ Leaking: UNKNOWN
│ ↓ FlowableMap$MapSubscriber.downstream
│ ~~~~~~~~~~
├─ io.reactivex.internal.subscribers.LambdaSubscriber
│ Leaking: UNKNOWN
│ ↓ LambdaSubscriber.onError
│ ~~~~~~~
├─ com.theblue.xiaoyanyixia.user.ui.activity.vip.UserVipActivity$5
│ Leaking: UNKNOWN
│ Anonymous class implementing io.reactivex.functions.Consumer
│ ↓ UserVipActivity$5.this$0
│ ~~~~~~
╰→ com.theblue.xiaoyanyixia.user.ui.activity.vip.UserVipActivity
​ Leaking: YES (Activity#mDestroyed is true and ObjectWatcher was watching this)
​ key = 0283e45c-ee74-4848-a2ef-14ccea55c846
​ watchDurationMillis = 25584
​ retainedDurationMillis = 20570

METADATA

Build.VERSION.SDK_INT: 28
Build.MANUFACTURER: samsung
LeakCanary version: 2.0
App process name: com.theblue.xiaoyanyixia
Analysis duration: 23258 ms

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

1 participant