I'm trying to copy part of the source image. I've decoded the resource into bitmap with inScaling option turned off so I can crop from real image size but I'm getting outOfMemoryErorr thrown out.
I've read my device (S3) memory with
Log.i("CropParams memory", String.valueOf(Runtime.getRuntime().maxMemory()));
and it's showing 64MB.
I would really like to crop from real image size and to know what exactly causes outOfMemoryError so I know how to manage this kind of situations. This particular image is 2448x3264 and has 3.41MB.
Why is this particular image causing this error?
Thanks