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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T12:29:11+00:00 2026-06-16T12:29:11+00:00

use ARC in xocde. The app’s material page is like this: The app runs

  • 0

use ARC in xocde. The app’s material page is like this:
enter image description here

The app runs well but when I swipe to the next page, the memory increase a lot (mostly 30k per page) as instrument allocation gives the following:
enter image description here

The detail is :
enter image description here

I don’t understand what’s going wrong? My env is : xcode 4.5.2, ARC enabled. Really appreciated someone can help me.

The heapshot is:
enter image description here

Then the heapshot detail :

enter image description here

I’m very sure that I removed all the view objects when swipe to the next page so the app should clean the memory of those view objects in the previous page. Just don’t know why these 304 bytes of objects increase the memory and what is wrong 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-16T12:29:12+00:00Added an answer on June 16, 2026 at 12:29 pm

    This is seemingly a case of abandoned memory. Abandoned memory is not exactly leaking memory, in that you are not losing track of that memory. Rather it is memory that is not deallocated when it could/should be, so that overall memory usage increases.

    Have a look at this article for a way of dealing with this using heapshot analysis in Instruments.

    Another interesting, step-by-step discussion of the heapshot analysis method is here.

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

Sidebar

Related Questions

I use ARC in xcode and write the convenience method like this: +(UITextField *)
Under manual memory management, I use this pattern fairly often: NSString * myStr =
I have an older app that does not use ARC. When trying to address
I am trying to convert my app to ARC but when I do it
I use xcode 4.2 and this use ARC (Automatic Reference Counting). This is not
I have Xcode 4.3 and that class doesn't use ARC. I have created a
I am trying to use XMPPFramework with an iOS5 project (ARC) under xcode 4.2.1
I want to use ARC in my simple class where I store some values
I know you can use -fno-objc-arc flag to disable ARC for files that NOT
From the Transitioning to ARC Release Notes Use Lifetime Qualifiers to Avoid Strong Reference

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.