Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory Leak



On 5/24/08 10:42 AM, Bill Bumgarner said:

>Probably not.   The tools aren't generally designed to capture the
>state of an application when it closes because memory leaks at that
>point in time are generally completely irrelevant;  the system will
>reclaim the memory of an application when it quits in its entirety.
>
>However, there are cases where you might need to know.  For example,
>testing for memory leaks at the end of a unit test run is often a
>great way to find leaks in framework code.

For OCUnit, would -(void)tearDown be the right place to test for leaks?

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Memory Leak (From: Romain Marucchi <email@hidden>)
 >Re: Memory Leak (From: Bill Bumgarner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.