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 7775525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:39:12+00:00 2026-06-01T17:39:12+00:00

I want to know how does iOS utilizes memory when displaying images… for instance:

  • 0

I want to know how does iOS utilizes memory when displaying images…

for instance:
I have an image that its 2000w, 2000h, but the iphone, ipod in this particular case has a rectangle of 460×920 (just an example)… if the image is just visible for the rectangle of the iOS device, i know for sure that memory is being used, but what happens to the rest of the image that is NOT CURRENTLY drawn in the rectangle? is that memory being consumed? or iOS is smart enough that is not using memory only for the drawn section? or is this considered as memory-leak?

I am wondering this because in some games you need longer scenarios with big images in which using parallaxnodes or anything similar helps. But I started to wonder how this affects my memory.

Thanks in advance for your answers.

  • 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-01T17:39:14+00:00Added an answer on June 1, 2026 at 5:39 pm

    On iPhone 4 you have 512MB of RAM. It’s shared between CPU and GPU, which means Video RAM consumes a part of it.

    If you are talking about a UIImage allocated 2000 by 2000 pixels. Even if it’s off-screen, it DOES consume RAM. To be precise, it consumes 2000*2000*4, around 16MB. This is managed by Objective-c runtime. This is a fairly large amount. As far as I know, the maximum size of a UIImage on the 4 series devices is 2048×2048, and 1024×1024 on 3 series.

    The viewing rectangle, or the screen you are talking about, is a part of the Video RAM. Typical displaying procedure involves compositing the image in Video RAM so that the graphics hardware can display it.

    Therefore, you have two copies of the image inside this 512MB of RAM. One you can load and modify by code (RAM), the other, smaller one for displaying (VRAM). Though in VRAM, only the size of the screen is used.

    And no, this isn’t memory leak.

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

Sidebar

Related Questions

i have one domain link text i want to know that does google crawl
I want to know that does apple's Push Notification Server generate new device token
I want to know that how does form based authentication works in weblogic. My
Does anyone know of a UI Library for iOS, that acts like a horizontal
Does anyone know how to sort the contact data that phonegap liberates from iOS
I want to know What does ios when it calls didreceivememorywarning? Thanks
Does anyone know about Facebook checkins with the Facebook iOS SDK? I have made
Does anybody know where an iOS app can see the default headers that NSUrlRequest
I want to know what does RETURN_VALUE mean! I'm stuck at this thing. How
I just want to know how does the table resulting from readXML look like,

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.