FROM : Scott Ribe
DATE : Sat Nov 06 23:38:46 2004
> ie, is it for sure if i see a leak using the above process, that the leak is
> something i'm causing and can fix within my code?
It's quite possible that AppKit and Foundation do some caching of their own,
and it is really not possible for you to get an absolute answer. What you
can do is perform the same action in your app multiple times to see if the
memory use keeps going up each time, or if it plateaus--if the latter then
it's a pretty good bet that the libraries are just caching some things.
--
Scott Ribe
<email_removed>
http://www.killerbytes.com/
(303) 665-7007 voice
DATE : Sat Nov 06 23:38:46 2004
> ie, is it for sure if i see a leak using the above process, that the leak is
> something i'm causing and can fix within my code?
It's quite possible that AppKit and Foundation do some caching of their own,
and it is really not possible for you to get an absolute answer. What you
can do is perform the same action in your app multiple times to see if the
memory use keeps going up each time, or if it plateaus--if the latter then
it's a pretty good bet that the libraries are just caching some things.
--
Scott Ribe
<email_removed>
http://www.killerbytes.com/
(303) 665-7007 voice
| Related mails | Author | Date |
|---|---|---|
| Ken Victor | Nov 5, 03:29 | |
| Jerry Krinock | Nov 5, 15:38 | |
| Scott Ribe | Nov 6, 23:38 | |
| The Karl Adam | Nov 9, 02:07 | |
| Evan Schoenberg | Nov 9, 03:50 | |
| Jonathon Mah | Nov 9, 10:20 | |
| Evan Schoenberg | Nov 9, 23:59 |






Cocoa mail archive

