glide icon indicating copy to clipboard operation
glide copied to clipboard

OOM - com.bumptech.glide.load.engine.ActiveResources.cleanReferenceQueue (ActiveResources.java:128)

Open irfanirawansukirman opened this issue 4 years ago • 2 comments
trafficstars

Glide Version: 4.11.0

Integration libraries: implementation "com.github.bumptech.glide:glide:4.11.0" kapt "com.github.bumptech.glide:compiler:4.11.0"

Device/Android Version: Vivo 1808 OS 8.1.0

Issue details / Repro steps / Use case background: Crash in background

Stack trace / LogCat:

Fatal Exception: java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack trace available

glide-active-resources
java.lang.Object.wait (Object.java)
java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:209)
com.bumptech.glide.load.engine.ActiveResources.cleanReferenceQueue (ActiveResources.java:128)
com.bumptech.glide.load.engine.ActiveResources$2.run (ActiveResources.java:61)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1162)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
com.bumptech.glide.load.engine.ActiveResources$1$1.run (ActiveResources.java:43)
java.lang.Thread.run (Thread.java:764)

irfanirawansukirman avatar Nov 01 '21 08:11 irfanirawansukirman

Was a solution found here back then? I have the same problem (ANR) on several devices with Android 12, 13 and 14. I use Glide version 4.14.2.

fabitb avatar Nov 23 '23 15:11 fabitb