My app takes an image and passes it to a model and then prints the image with the annotations. When I tried it on my phone and after uploading an image, the app crashed and the below error appeared:
Thanks for posting! It looks like your app is exceeding the 1GB resource limit, which is causing the error. Check out this blog post for some suggestions on reducing your app’s memory usage.