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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:00:33+00:00 2026-05-23T08:00:33+00:00

My application starts in a certain view and from there the user can push

  • 0

My application starts in a certain view and from there the user can push through several views. When the user reaches the last view I have provided a button to pop to the rootview controller.But the memory which has been increasing through out the application when each view is pushed, is found to be unreleased. And again if the user starts using the application it keeps increasing. I dunno where the problem actually lies. Can somebody please help me out of this ??

-(void)buttonPressedStart{
    QuizicleViewController *dvController = [[QuizicleViewController alloc] init];
    UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithTitle: @"Cancel" style: UIBarButtonItemStyleBordered target: nil action:nil];
    [[self navigationItem] setBackBarButtonItem: backButton];
    [backButton release];
    [self.navigationController pushViewController:dvController animated:YES];
    [dvController release];
    dvController = nil;
}
  • 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-23T08:00:33+00:00Added an answer on May 23, 2026 at 8:00 am

    Due to my less reputation i have to add an answer. The same thing happened to me a little while ago. I was pushing a view controller and then releasing it but the dealloc method was not called. Then after a little debugging i realized that i was doing some work on a separate thread and i was releasing the view without the thread getting complete. As the thread was still running the dealloc method will not be called. I dont know if this is the case with you but if you have used multi threading please check if its the case.

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

Sidebar

Related Questions

I'm developing an android application, and I have a button which starts/pauses certain simulation
I have couple resource DLLs that I currently load when application starts using following
I have a cherrypy application and on some of the views I want to
I have to develop an application that gives a popup message at a certain
In the application there is a default report the user see's listing all the
I have an application that temporarily needs some certain amount of memory/heap for some
Is there a way to redirect the user to an error page (view) when
I am developing an application that allows the user at a certain point to
When my Application starts, It does a lot of scanning; traversing through the root
I want that the WPF application starts only in certain conditions. I tried the

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.