hkk595 / Resizer

An image resizing library for Android
MIT License
432 stars 69 forks source link

me.echodev.resizer.util.ImageUtils.getScaledBitmap #13

Open darwish1994 opened 3 years ago

darwish1994 commented 3 years ago

The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | java.lang.OutOfMemoryError: Failed to allocate a 3464652 byte allocation with 3291992 free bytes and 3MB until OOM at io.reactivex.plugins.RxJavaPlugins.onError(RxJavaPlugins.java:2) at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java) at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:154) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)