using visual studio xamarin after binding an image-processing library, and imported the .Dll file as reference to my App project. when i pass an image to the library the App crash with this error
Java.Lang.OutOfMemoryError: Failed to allocate a 91411212 byte allocation with 2810016 free bytes and 2MB until OOM
it occurs inside the library only when i pass a large image files >2MB.
i already increased the java max heap size for the project to max (1G)