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

Throws Out of Memory Errors #66

Open
phundal209 opened this issue Oct 9, 2017 · 0 comments
Open

Throws Out of Memory Errors #66

phundal209 opened this issue Oct 9, 2017 · 0 comments

Comments

@phundal209
Copy link

Using this as a tap in to gallery from a recycler with images. Picasso does not throw OOM, but tapping into the gallery throws a OOM if it fails to allocate enough space.

E/AndroidRuntime: FATAL EXCEPTION: Thread-31 Process: com.GoFundMe.GoFundMe.debug, PID: 25180 java.lang.OutOfMemoryError: Failed to allocate a 12192780 byte allocation with 1042864 free bytes and 1018KB until OOM at dalvik.system.VMRuntime.newNonMovableArray(Native Method) at android.graphics.Bitmap.nativeCreate(Native Method) 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 com.facebook.imagepipeline.memory.BitmapPool.alloc(BitmapPool.java:55) at com.facebook.imagepipeline.memory.BitmapPool.alloc(BitmapPool.java:30) at com.facebook.imagepipeline.memory.BasePool.get(BasePool.java:260) at com.facebook.imagepipeline.platform.ArtDecoder.decodeStaticImageFromStream(ArtDecoder.java:137) at com.facebook.imagepipeline.platform.ArtDecoder.decodeJPEGFromEncodedImage(ArtDecoder.java:120) at com.facebook.imagepipeline.decoder.DefaultImageDecoder.decodeJpeg(DefaultImageDecoder.java:186) at com.facebook.imagepipeline.decoder.DefaultImageDecoder$1.decode(DefaultImageDecoder.java:63) at com.facebook.imagepipeline.decoder.DefaultImageDecoder.decode(DefaultImageDecoder.java:126) at com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.doDecode(DecodeProducer.java:239) at com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.access$200(DecodeProducer.java:111) at com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder$1.run(DecodeProducer.java:144) at com.facebook.imagepipeline.producers.JobScheduler.doJob(JobScheduler.java:207) at com.facebook.imagepipeline.producers.JobScheduler.access$000(JobScheduler.java:27) at com.facebook.imagepipeline.producers.JobScheduler$1.run(JobScheduler.java:78) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at com.facebook.imagepipeline.core.PriorityThreadFactory$1.run(PriorityThreadFactory.java:43) at java.lang.Thread.run(Thread.java:762)

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