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

  • Home
  • SEARCH
  • 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 8394717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T20:07:47+00:00 2026-06-09T20:07:47+00:00

I’m trying to memory test my app. I’ve followed the Organizer – Documentation article

  • 0

I’m trying to memory test my app.

I’ve followed the Organizer – Documentation article entitled “Recovering Memory You Have Abandoned”, but I’m not sure if the results make my tested page good or bad, or somewhere in-between.

(My test involved: navigate to page 2, going back to page 1, press ‘Mark Heap’ -repeated 25 times for good measure.)

Attached is a screenshot of my allocations test. Most of the #Persistent values are 0. But there are some anomalies. Are these typical?

(The last Heapshot, 26, was taken after stopping the recording, and pressing ‘Mark Heap’ at the end of the trace – as suggested in the documentation.)

I would be very grateful for some advice. Thanks.

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-06-09T20:07:48+00:00Added an answer on June 9, 2026 at 8:07 pm

    I believe that you are using ARC, and if you are using ARC, there is no need of bothering about the heaps, it will take care of everything.

    Here are the 9 simple points from Apple’s docs to be in mind while using ARC:

    ARC imposes some new rules that are not present when using other
    compiler modes. The rules are intended to provide a fully reliable
    memory management model; in some cases, they simply enforce best
    practice, in some others they simplify your code or are obvious
    corollaries of your not having to deal with memory management. If you
    violate these rules, you get an immediate compile-time error, not a
    subtle bug that may become apparent at runtime.

    1. You cannot explicitly invoke dealloc, or implement or invoke retain,
      release, retainCount, or autorelease.
      The prohibition extends to using @selector(retain), @selector(release), and so on.

    2. You may implement a dealloc method if you need to manage resources other than releasing instance variables. You do not have to
      (indeed you cannot) release instance variables, but you may need to
      invoke [systemClassInstance setDelegate:nil] on system classes and
      other code that isn’t compiled using ARC.
      Custom dealloc methods in ARC do not require a call to [super dealloc] (it actually results in a compiler error). The
      chaining to
      super is automated and enforced by the compiler.

    3. You can still use CFRetain, CFRelease, and other related functions
      with Core Foundation-style

    4. You cannot use NSAllocateObject or NSDeallocateObject.

    5. You create objects using alloc; the runtime takes care of
      deallocating objects.

    6. You cannot use object pointers in C structures.
      Rather than using a struct, you can create an Objective-C class to manage the data instead.
      There is no casual casting between id and void *.

    7. You must use special casts that tell the compiler about object lifetime. You need to do this to cast between Objective-C objects and
      Core Foundation types that you pass as function arguments. For more
      details, see “Managing Toll-Free Bridging.”

    8. You cannot use NSAutoreleasePool objects.
      ARC provides @autoreleasepool blocks instead. These have an advantage of being more efficient than NSAutoreleasePool.

    9. You cannot use memory zones.
      There is no need to use NSZone any more—they are ignored by the modern Objective-C runtime anyway.

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
I am trying to loop through a bunch of documents I have to put
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
this is what i have right now Drawing an RSS feed into the php,

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.