vinc3m1/RoundedImageView

Fatal Exception: java.lang.OutOfMemoryError

Irineu333 opened this issue · 1 comments

drawableToBitmap method in RoundedDrawable class is causing an OutOfMemoryError
image

the error is thrown on the createBitmap method call, which is being handled by a try catch of Exception, but does not inherit from Exception,
image
image
a try catch of Throwable would solve

I saw it fixed in commit 497a2d4 "Fix for OOM in Rounded Drawable" by author @GauravGangwarZomato in December 2018, please generate a release