Mac OS Memory Management - Memory Leaks and Stale References

Memory Leaks and Stale References

Awareness and discipline are also necessary to avoid memory "leaks" (failure to deallocate within the scope of the allocation) and to avoid references to stale handles after release.

Read more about this topic:  Mac OS Memory Management

Famous quotes containing the words memory, leaks and/or stale:

    ‘Tis of the essence of life here,
    Though we choose greatly, still to lack
    The lasting memory at all clear,
    That life has for us on the wrack
    Nothing but what we somehow chose;
    Thus are we wholly stripped of pride
    In the pain that has but one close,
    Bearing it crushed and mystified.
    Robert Frost (1874–1963)

    Loving feels lonely in a violent world,
    irrelevant to people burning like last year’s weed
    with bellies distended, with fish throats agape
    and flesh melting down to glue.
    We can no longer shut out the screaming
    That leaks through the ventilation system ...
    Marge Piercy (b. 1936)

    If I am to be a thoroughfare, I prefer that it be of the mountain brooks, the Parnassian streams, and not the town sewers. There is inspiration, that gossip which comes to the ear of the attentive mind from the courts of heaven. There is the profane and stale revelation of the barroom and the police court. The same ear is fitted to receive both communications. Only the character of the hearer determines to which it shall be open, and to which closed.
    Henry David Thoreau (1817–1862)