-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Description
New Issue Checklist
- I have read and understood the CONTRIBUTING guide
- I have read the Documentation
- I have searched for a similar issue in the project and found none
Issue Info
Info | Value |
---|---|
Platform Name | ios |
Platform Version | 10.1.x and lower (tested also on 10.0.x, 9.3.x) |
SDWebImage Version | 4.0 |
Integration Method | cocoapods |
Xcode Version | Xcode 8.3.3 |
Repro rate | all the time (100%) |
Repro with our demo prj | no |
Demo project link | https://github.com/gorillatech/SDWebImage-OOM-sample |
Issue Description and Steps
When using SDWebImagePrefetcher to preload thousands of non-existent images (404 error), the app starts to use a lot of memory.
Eventually the app gets terminated by the OS.
I've attached a demo project that highlights the problem.
It only happens on 10.1.x and lower.