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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:57:28+00:00 2026-05-27T10:57:28+00:00

First time question, so don’t hold that against me… For standard objects as well

  • 0

First time question, so don’t hold that against me…

For standard objects as well as sub-classes that I create, it is fairly straightforward to find in the Allocations or the Leaks Instruments a particular object. i.e. if I want to see a subclass of UIViewController called ViewController, I can scroll through the Allocations instrument and see the number of living objects increasing and decreasing. Similarly, if that object is leaked the Leaks Instrument will list it. I can even search for specific objects.

However, I’m not sure what to look for when looking for Objective-C blocks. I’ve noticed in the Leaks Instrument that a leaked block turns up as __NSMallocBlock. However, when using the Allocations Instrument a search for __NSMallocBlock does not show up.

Any ideas what to look for in the Allocations Instrument to track Objective-C blocks?

Many Thanks

  • 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-27T10:57:29+00:00Added an answer on May 27, 2026 at 10:57 am

    It seems, at least as of Xcode 4.2.1, that Blocks (as in (^), I’ll use uppercase/bold for those) show up in the Allocations Instrument as just general Malloc memory blocks (as in chunks of memory, lowercase not bold for those).

    So Malloc NN Bytes where NN is the number of bytes required for that Block. Usually Malloc 32 or Malloc 64, depending on what that Block may have captured.

    Of course there are most likely plenty of other Malloc blocks of the same size. If you sort by Responsible Caller, that may help you filter them out.

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

Sidebar

Related Questions

Sorry, this's my first time to ask a question here. So, I don't have
First time poster here. A quick question about setting up a loop here. I
This is my first time here so I hope I post this question at
This is a really basic question but this is the first time I've used
this is my first time posting here, I have a question which I have
First, I've taken the time to review this question which seems to be the
first time SO user :) I know that I can format a number like
first time posting here. I'm using a loop to create 3 buttons, but my
First time I post a question, so here it goes. I want to push
Important: This question is getting quite long, if this is the first time you're

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.