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

There is a memory leak on the map. #17

Open
AngkiZ opened this issue Sep 8, 2022 · 1 comment
Open

There is a memory leak on the map. #17

AngkiZ opened this issue Sep 8, 2022 · 1 comment

Comments

@AngkiZ
Copy link

AngkiZ commented Sep 8, 2022

eg:

┬───
│ GC Root: System class

├─ android.os.Parcel class
│ Leaking: NO (e↓ is not leaking and a class is never leaking)
│ ↓ static Parcel.mCreators
├─ java.util.HashMap instance
│ Leaking: NO (e↓ is not leaking)
│ ↓ HashMap[key()]
├─ com.huawei.hms.dynamicloader.e instance
│ Leaking: NO (mab↓ is not leaking and A ClassLoader is never leaking)
│ ↓ ClassLoader.runtimeInternalObjects
├─ java.lang.Object[] array
│ Leaking: NO (mab↓ is not leaking)
│ ↓ Object[1415]
├─ com.huawei.hms.maps.mab class
│ Leaking: NO (a class is never leaking)
│ ↓ static mab.a
│ ~
╰→ com.huawei.hms.maps.sample.MapFunctionsDemoActivity instance
​ Leaking: YES (ObjectWatcher was watching this because com.huawei.hms.maps.sample.MapFunctionsDemoActivity
​ received Activity#onDestroy() callback and Activity#mDestroyed is true)
​ Retaining 927.9 kB in 8278 objects
​ key = e8a8ff4b-166a-473a-9218-ff492477d59d
​ watchDurationMillis = 5696
​ retainedDurationMillis = 692
​ mApplication instance of android.app.Application
​ mBase instance of androidx.appcompat.view.ContextThemeWrapper

@Xuejiao-Shi
Copy link
Contributor

Do you have a specific path for memory leak? or a screenshot of the corresponding class.

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