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

OutOfMemoryError when creating barcode #99

Closed
brarcher opened this issue Jun 10, 2017 · 0 comments
Closed

OutOfMemoryError when creating barcode #99

brarcher opened this issue Jun 10, 2017 · 0 comments

Comments

@brarcher
Copy link
Owner

The following crash was observed in application version 10:

java.lang.RuntimeException: 
  at android.os.AsyncTask$3.done(AsyncTask.java:318)
  at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
  at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
  at java.util.concurrent.FutureTask.run(FutureTask.java:242)
  at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
  at java.lang.Thread.run(Thread.java:762)
Caused by: java.lang.OutOfMemoryError: 
  at dalvik.system.VMRuntime.newNonMovableArray(Native Method:0)
  at android.graphics.Bitmap.nativeCreate(Native Method:0)
  at android.graphics.Bitmap.createBitmap(Bitmap.java:977)
  at android.graphics.Bitmap.createBitmap(Bitmap.java:948)
  at android.graphics.Bitmap.createBitmap(Bitmap.java:915)
  at protect.card_locker.BarcodeImageWriterTask.doInBackground(BarcodeImageWriterTask.java:78)
  at protect.card_locker.BarcodeImageWriterTask.doInBackground(BarcodeImageWriterTask.java:21)
  at android.os.AsyncTask$2.call(AsyncTask.java:304)
  at java.util.concurrent.FutureTask.run(FutureTask.java:237)

Device information:
Android version: Android 7.0
Device: Galaxy S6 (zerofltevzw)
Manufacturer:Samsung
RAM (MB): 3072
Screen size: 1440 × 2560
Screen density (dpi): 640
Native platform: armeabi-v7a
OpenGL ES version: 3.1
CPU make: Samsung CPU
model: Exynos 7420

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