Blurry icon indicating copy to clipboard operation
Blurry copied to clipboard

OutOfMemoryError

Open yanglichuan opened this issue 9 years ago • 5 comments

e: FATAL EXCEPTION: pool-10-thread-1 Process: com.ks.kaishustory, PID: 23125 java.lang.OutOfMemoryError at android.graphics.Bitmap.nativeCreate(Native Method) at android.graphics.Bitmap.createBitmap(Bitmap.java:903) at android.graphics.Bitmap.createBitmap(Bitmap.java:880) at android.graphics.Bitmap.createBitmap(Bitmap.java:812) at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:686) at jp.wasabeef.blurry.internal.Blur.of(Blur.java:78) at jp.wasabeef.blurry.internal.BlurTask$1.run(BlurTask.java:61) 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:841)

yanglichuan avatar Apr 21 '16 11:04 yanglichuan

I have the same issue here:

java.lang.OutOfMemoryError at android.graphics.Bitmap.nativeCreate(Native Method) at android.graphics.Bitmap.createBitmap(Bitmap.java:903) at android.graphics.Bitmap.createBitmap(Bitmap.java:880) at android.graphics.Bitmap.createBitmap(Bitmap.java:812) at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:686) at jp.wasabeef.blurry.internal.Blur.of(Blur.java:78) at jp.wasabeef.blurry.internal.Blur.of(Blur.java:41) at jp.wasabeef.blurry.Blurry$ImageComposer.into(Blurry.java:163)

hoangtu23 avatar Jul 04 '16 06:07 hoangtu23

Same...happens mostly on high end phones like samsung S7 and edge7.

Edit: The project had the older version 2.0.1, will try with new one and report if it still happens..

engineers-bojan avatar Oct 18 '16 10:10 engineers-bojan

The same problem

"Picasso-/photo/484343044.jpeg" prio=5 tid=40 Native | group="main" sCount=1 dsCount=0 obj=0x32c01ac0 self=0xaee04800 | sysTid=2576 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0xaec80e00 | state=S schedstat=( 0 0 0 ) utm=30 stm=10 core=0 HZ=100 | stack=0x96839000-0x9683b000 stackSize=1036KB | held mutexes= kernel: (couldn't read /proc/self/task/2576/stack) at android.renderscript.RenderScript.rsnContextDestroy(Native method) at android.renderscript.RenderScript.nContextDestroy(RenderScript.java:230)

  • locked <@addr=0x32c2f180> (a android.renderscript.RenderScript) at android.renderscript.RenderScript.destroy(RenderScript.java:1315) at jp.wasabeef.blurry.internal.Blur.rs(Blur.java:102) at jp.wasabeef.blurry.internal.Blur.of(Blur.java:67)

maxim-yudin avatar Mar 30 '17 12:03 maxim-yudin

same problem seems like created bitmaps not deleted or recyled

IlanVokov avatar May 05 '17 11:05 IlanVokov

I have this problem and solved this by adding android:largeHeap="true" to app manifest. I know this is not a good solution but it can solve your problem.

moshosseini avatar Aug 14 '17 15:08 moshosseini