Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OOM #224

Open
1 task
qiuqi-ovopark opened this issue Sep 23, 2024 · 0 comments
Open
1 task

OOM #224

qiuqi-ovopark opened this issue Sep 23, 2024 · 0 comments

Comments

@qiuqi-ovopark
Copy link

New Issue Checklist

  • I have searched for a similar issue in the project and found none

Issue Info

Info Value
Device Info vivoS12 V2162A
System Version 10
APNG4Android Library Version 2.24.0
Repro rate e.g. all the time (100%) / sometimes x% / only once
Repro with our demo project e.g. does it happen with our demo project?
Demo project link e.g. link to a demo project that highlights the issue

Issue Description and Steps

java.lang.OutOfMemoryError: Failed to allocate a 72 byte allocation with 1627448 free bytes and 1589KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.
at android.os.Message.obtain(Message.java:168)
at android.os.Handler.getPostMessage(Handler.java:999)
at android.os.Handler.post(Handler.java:437)
at com.github.penfeizhou.animation.FrameAnimationDrawable.onRender(FrameAnimationDrawable.java:235)
at com.github.penfeizhou.animation.decode.FrameSeqDecoder$1.run(FrameSeqDecoder.java:64)
at android.os.Handler.handleCallback(Handler.java:1013)
at android.os.Handler.dispatchMessage(Handler.java:101)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:328)
at android.os.HandlerThread.run(HandlerThread.java:67)

Snipaste_2024-09-23_16-53-54
chat_gpt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant