[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use of NSZoneStat()

From: amon
Subject: Re: Use of NSZoneStat()
Date: Fri, 09 Mar 2018 11:08:08 -0600
User-agent: Roundcube Webmail/1.3.4

It may be the case that the malloc scene is confused and lacks
standards, but the ability to debug leaks with a simple test
like this has been a long standing and very serious problem
with Objective C, to the point that I have my doubts there is
any significant size program written in the language that is not
silently leaking like a sieve.

This solution at least works in all the environments that are
of interest to my company, and if others can figure out extensions
to this simple API to make it work with some of the other ad-hoc
malloc and pseudo-malloc API's, its all to the advantage of
everyone. Feel free to take the code I posted and extend as
needed, or to simply use it to help you track down your own
memory leaks.

|   Dale Amon                  Immortal Data                    |
|   CEO             Midland International Air and Space Port    |
| address@hidden       "Data Systems for Deep Space and Time"     |

reply via email to

[Prev in Thread] Current Thread [Next in Thread]