iphone - iOS app memory increases on loading image (5 MB) on image view -


i trying load image (5.4 mb) of resolution 4923 x 9405 on image view. there drastic increase in memory allocation of app load image. memory allocation before loading image around 17 mb, whereas reaches 198 mb when load image on image view. assuming app should consume memory of 5 mb while loading image proved wrong when analysed memory allocations of app.

my questions

  • why ios app shows such behaviour?
  • is there way identify, actual memory allocation of app when such large images loaded?

you can check attached screenshots memory allocations before loading image , after loading image.

memory allocation before loading image

memory allocation after loading image


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -