You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue details / Repro steps / Use case background:
MemorySizeCalculator#isLowMemoryDevice will return FALSE on device with android os < KITKAT,
which means some low-end devices will use maxSizeMultiplier instead of lowMemoryMaxSizeMultiplier when calculate maxSize and could more possibly to produce OOM error on such devices. Maybe it will be better if this method returns true for these cases or more accurately, the return value should depends on the total memory size.
Glide Version:4.2.0
Integration libraries:OkHttp3
Device/Android Version:Galaxy J1 mini 4.1.1
Issue details / Repro steps / Use case background:
MemorySizeCalculator#isLowMemoryDevice will return FALSE on device with android os < KITKAT,
which means some low-end devices will use maxSizeMultiplier instead of lowMemoryMaxSizeMultiplier when calculate maxSize and could more possibly to produce OOM error on such devices. Maybe it will be better if this method returns true for these cases or more accurately, the return value should depends on the total memory size.
ref:https://github.com/bumptech/glide/blob/master/library/src/main/java/com/bumptech/glide/load/engine/cache/MemorySizeCalculator.java
Glide load line /
GlideModule
(if any) / list Adapter code (if any):Layout XML:
N/A
Stack trace / LogCat:
The text was updated successfully, but these errors were encountered: