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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:46:16+00:00 2026-06-01T18:46:16+00:00

I’m currently looking at the output of the Monotouch memory profiler while running my

  • 0

I’m currently looking at the output of the Monotouch memory profiler while running my app in the Simulator.
I can see these numbers:

Object count: 154.043
Total memory: 5.099.648 bytes

Does the “total memory” mean, I’m occupying about 5MB of RAM? Instruments is showing me that about 30MB are allocated, that’s why I’m asking.

  • 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-01T18:46:19+00:00Added an answer on June 1, 2026 at 6:46 pm

    Total memory is the amount of memory used by all the managed objects. The profiler just adds up the memory used by each object.

    This is not the total amount of memory used in the process, for a couple of reasons:

    • MonoTouch doesn’t allocate memory on a per-object basis. MonoTouch allocates memory in chunks instead, and when a new object is created, it will usually be allotted memory already allocated. In any case this is usually a difference you can ignore between the total memory the profiler reports and the real amount of memory your app uses (and it is not the reason for the difference between 5MB of managed memory used and the 30MB Instruments reports).

    • MonoTouch (and therefore its profiler) does not know about any memory allocated by native code. If you for instance create an UIImage, the image data is kept entirely in native code, and it won’t show up in our profiler (you will see UIImage instances in the profiler, but the memory used by each will be the managed memory used, which doesn’t include the image data). Another example is if you load a view from a xib: if you don’t access the tree of objects from managed code somehow, no managed objects will be created for any of the objects in the tree, and nothing will show up in the managed profiler. This is the real difference between the 5MB from the managed profiler and the 30MB Instruments reports.

    Also have in mind that MonoTouch itself will use more memory in the simulator than on device, since on the simulator it’s been tuned to compile fast (to make debugging as fast as possible), while on device it’s tuned for better runtime performance.

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

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I am currently running into a problem where an element is coming back from
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I want use html5's new tag to play a wav file (currently only supported
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I have an array which has BIG numbers and small numbers in it. I
Does anyone know how can I replace this 2 symbol below from the string

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.