How to cancel readyAsyncCalls ? There are many AsyncCall in readyAsyncCalls,They take up alot of memory and cause OOM
Open
- Dominant language
- Java
- Stars
- 35k
- Forks
- 6.2k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description
**Glide Version**: 4.11.0
**Integration libraries**: 'com.github.bumptech.glide:okhttp3-integration:4.11.0'
**Device/Android Version**: Android 9
**Issue details / Repro steps / Use case background**:
This problem appeared when running monkey test,when the network is not good, there is a large amount of memory leaks.
After analyzing the hprof file,I found that there are 40000+ AsyncCall objects and they occupy 80m+ memory。
so I want to know how to cancle these AsyncCalls when the memory is low.
Contributor guide
Assessment
This issue has not been assessed yet.