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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:18:16+00:00 2026-05-23T11:18:16+00:00

Being a python programmer for four years now (it doesn’t mean much though) and

  • 0

Being a python programmer for four years now (it doesn’t mean much though) and moving to Objective-C the one concept that is weird and “alien” to me is memory management. Luckily garbage collectiom exists and I only intend to develop apps for the mac OS 10.6+, so in all my projects so far I have always turned garbage collection to required. But here is my problem: when I use Instruments with the Alloc and Leaks tool I see leaked bytes poppin in the graph. ??? Very weird. What does Garbage Collection really do, when it is required. The way I see it is that you can completely forget about retain, release, etc. But is that true? Please provide examples where GC will help and where it won’t (if any), so that I can understand what I am doing wrong.

Edit

I probably should have been more clear. The problem I want to solve is the fact that, even after GC is set up as required, Instruments still finds leaks. I also asked what GC does just so I could make sure that it does what I think, and the problem is not in my code or in GC, but elsewhere. That “elsewhere” is what I want to find out.

  • 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-23T11:18:16+00:00Added an answer on May 23, 2026 at 11:18 am

    If you have time to wait for the next version of Xcode to be released (together with Lion), you can directly move to ARC (Automatic Reference Counting).

    ARC will – in the intermediate run – replace GC in OS X and iOS.

    If you are a registered Apple Developer, you can check out presentations on ARC in the WWDC2011 videos.

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

Sidebar

Related Questions

Python Decimal doesn't support being constructed from float; it expects that you have to
Being a web developer (php, symfony, doctrine) for 2 years now, I was recently
I've currently got a Bash command being executed (via Python's subprocess.Popen ) which is
I have an old C# program that is being ported to Python 3 for
I am looking for a python webserver which is multithreaded instead of being multi-process
I have a bunch of Python modules in a directory, all being a derivate
i have a python script which keeps crashing on: subprocess.call([pdftotext, pdf_filename]) the error being:
Having seen the advantages of metaprogramming in Ruby and Python, but being bound to
The py2app documentation mentions prescripts, being run by __boot__.py prior to the main python
After five years of professional Java (and to a lesser extent, Python) programming and

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.