Skip to content

OutOfMemoryError exception #125

@palize

Description

@palize

Hello everyone. I get this error on some of device
I use try catch but can't handle exception

java.lang.OutOfMemoryError: pthread_create (1040KB stack) failed: Try again
at java.lang.Thread.nativeCreate(Thread.java:-2)
at java.lang.Thread.start(Thread.java:887)
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:975)
at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1043)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1185)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)

Thread 2:
0 com.linecorp.apng.decoder.ApngDecoderJni.decode(ApngDecoderJni.kt:-2)
1 com.linecorp.apng.decoder.Apng$Companion.decode(Apng.kt:16)
2 aj.a$b.a(ApngDrawable.kt:7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions