Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8519665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:18:45+00:00 2026-06-11T06:18:45+00:00

I am doing little analysis on memory allocations for UIImageView and UIImage. To do

  • 0

I am doing little analysis on memory allocations for UIImageView and UIImage.

To do that I am loading an image of size 2.1MB in image view, but when I profile the memory allocations through xcode-instruments it shows that live bytes are 741.50KB & overall bytes are 1.56MB.

Looking down the list of all memory allocations, I could not find an entry for alloc called by me.

This is the code that I have in my view controller.

self.imageView.image = [[[UIImage alloc] initWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"img_background" ofType:@"png"]] autorelease];

I am just wondering why total size shown in xcode-instrument is far too less than expected. Also why the above alloc is not listed in memory allocations.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T06:18:47+00:00Added an answer on June 11, 2026 at 6:18 am

    Check here https://stackoverflow.com/a/7575099/314983
    Allocation instrument does not include memory consumed by OpenGL ES – data of UIImage is, in fact, used by OpenGL ES.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm doing a little bit of memory profiling to my software and after running
So I'm doing a little experimenting with the compiler (I'm to that point in
I'm doing a little research in developing a simple socket server that will run
I'm a JavaScript newbie, just doing a little script so that I can rotate
I'm doing a little python plasmoid that deals with remote resources. Here's the code
I'm doing a little app that basically has 2 text boxes. You'll enter Fahrenheit
Doing a little search i realized that to make an equalizer. I need to
I'm doing a little software that has a QWebView to display HTML files. My
I'm doing a little gallery of images and for each image I wanna tell
I'm doing a little project that acts like a cart. When I click this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.