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 #342

Closed
xiaohangzhu opened this issue Jun 21, 2019 · 0 comments
Closed

oom #342

xiaohangzhu opened this issue Jun 21, 2019 · 0 comments

Comments

@xiaohangzhu
Copy link

java.lang.OutOfMemoryError: Failed to allocate a 13986630 byte allocation with 4194304 free bytes and 11MB until OOM
at java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:122)
at top.zibin.luban.Checker.toByteArray(Checker.java:215)
at top.zibin.luban.Checker.isJPG(Checker.java:44)
at top.zibin.luban.Engine.compress(Engine.java:76)
at top.zibin.luban.Luban.compress(Luban.java:186)
at top.zibin.luban.Luban.access$700(Luban.java:21)
at top.zibin.luban.Luban$1.run(Luban.java:135)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)

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