German Shepard.
O'Reilly Mac OS X Conference.
Books Safari Bookshelf Conferences O'Reilly Network

Arrow Home
Arrow Registration
Arrow Speakers
Arrow Keynotes
Arrow Tutorials
Arrow Sessions
Arrow At-a-Glance
Arrow BOFs
Arrow Events
Arrow Exhibitors
Arrow Sponsors
Arrow Hotel/Travel
Arrow Venue Map
Arrow Tips for Attendees
Arrow See & Do
Arrow Press
Arrow Mail List

O'Reilly Mac OS X Conference
Mac Troubleshooting Dog.


Cocoa Memory Management
mmalcolm Crawford, Apple Computer, Inc.

Track: Programming
Date: Tuesday, October 28
Time: 1:45pm - 2:30pm
Location: Lafayette/San Tomas/Lawrence

Evaluate Session


Newcomers to Cocoa often struggle with Cocoa's memory management. Crawford's talk presents a few simple rules that can make life easy. Failure to adhere to the rules will almost certainly lead at some point to memory leaks, or runtime exceptions due to messages being sent to freed objects.

Accessor methods can play an important part in facilitating memory management, however there are a number of different ways in which they can be written. The presentation outlines these, and illustrates situations in which each technique is appropriate.

Autorelease pools can play an important part in making memory use more efficient. Crawford shows how to employ autorelease pools, and how judicious use can reduce an application's memory footprint.

O'Reilly Home | Privacy Policy

© 2003, O'Reilly Media, Inc.