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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:37:07+00:00 2026-05-25T06:37:07+00:00

I have an iPhone Windows-based Monotouch application that appears to use more memory to

  • 0

I have an iPhone Windows-based Monotouch application that appears to use more memory to run on an iPad versus an iPhone and iPhone simulator.

After monitoring memory allocations in Instruments, I noticed that there are two additional instances that are only instantiated on the iPad (see screenshot below.) When following the same steps for iPhone and simulator, they are not present. They are some big hitters totaling around 4MB. The responsible library for these two instances are "CoreGraphics." I was able to track down when they get instantiated and I’m left in the dark because it’s right after ViewDidLoad is done. Between a breakpoint on the last line in ViewDidLoad and when everything shows up on the screen, bam! 4 additional mb being used. The XIB is empty because I manually add everything in code so I can’t figure out what would be going on after ViewDidLoad that would make these.

I’d like to get to the bottom of this because the app is already pushing memory limits. It’s the difference between working fine on the iPhone and crashing very quickly on the iPad (memory related.) So, with out going into any details about the application, what would cause an iPad to instantiate these additional CoreGraphics related monsters versus not on an iPhone or simulator?

enter image description here

  • 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-05-25T06:37:07+00:00Added an answer on May 25, 2026 at 6:37 am

    It turned out to be a rookie mistake on my part.

    All my images were retina (double sized) but were named like normal images, myimage.png. I guess the iPad I have does not support retina graphics and was probably overwhelmed trying to re-size all the retina graphics to normal size.

    I whipped up a script to rename all my graphics to myimage@2x.png and went back and cut all my graphics to normal size with normal names, myimage.png. After that, the iPad was a happy camper and the large allocs were no where to be found!

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

Sidebar

Related Questions

I have a View based application for iPhone/iPod that plays audio, having a VU
I have an iPhone project that I started as a Windows-based app and another
My i have to develop simple window based iphone application. In my first screen
I have an iPhone app that compiles and runs fine in the Simulator on
I have an iPhone application with a settings.bundle that handles various settings for my
I have created a windows based project in XCode using IPhone as target platform
I have an iPhone, an Ipad, don't have yet windows phone 7, but will
I have an iPhone project that starts out with a standard UIView based Window...
I have a TabView based application on the iPhone. On initial loading, I want
I have an iPhone app that hides the status bar. However, my main view

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.