• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Memory Management Q. 1 and 2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory Management Q. 1 and 2


  • Subject: Re: Memory Management Q. 1 and 2
  • From: mmalc Crawford <email@hidden>
  • Date: Sun, 21 Dec 2008 09:38:27 -0800


On Dec 21, 2008, at 9:09 AM, Nick Rogers wrote:

These are 2 questions in a series of more upcoming ones.

All memory management questions should be answered by this document:
<http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/MemoryMgmt.html >
with the most concise summary of the rules given at:
<http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Tasks/MemoryManagementRules.html >
For situations such as yours, this article may be of particular help:
<http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmPractical.html >


For an immediate check of how well your code abides by the rules, use the LLVM Clang Static Analyzer:
<http://clang.llvm.org/StaticAnalysis.html>
In many cases, this will tell you much more quickly than any mailing list can where you have problems with memory management.


It is rare that these resources don't address any question you might have on memory management; make sure you exhaust these first...

mmalc

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Memory Management Q. 1 and 2 (From: Nick Rogers <email@hidden>)

  • Prev by Date: Re: Memory Management Q. 1 and 2
  • Next by Date: Re: Cocoa-dev Digest, Vol 5, Issue 2186
  • Previous by thread: Re: Memory Management Q. 1 and 2
  • Next by thread: Fwd: Stacks & Memory Management.
  • Index(es):
    • Date
    • Thread