Memory Leak - Other Memory Consumers

Other Memory Consumers

Note that constantly increasing memory usage is not necessarily evidence of a memory leak. Some applications will store ever increasing amounts of information in memory (e.g. as a cache). If the cache can grow so large as to cause problems, this may be a programming or design error, but is not a memory leak as the information remains nominally in use. In other cases, programs may require an unreasonably large amount of memory because the programmer has assumed memory is always sufficient for a particular task; for example, a graphics file processor might start by reading the entire contents of an image file and storing it all into memory, something that is not viable where a very large image exceeds available memory.

To put it another way, a memory leak arises from a particular kind of programming error, and without access to the program code, someone seeing symptoms can only guess that there might be a memory leak. It would be better to use terms such as "constantly increasing memory use" where no such inside knowledge exists.

Read more about this topic:  Memory Leak

Famous quotes containing the words memory and/or consumers:

    With a tongue like a razor he will kiss,
    the mother, the child,
    and we three will color the stars black
    in memory of his mother
    who kept him chained to the food tree
    or turned him on and off like a water faucet....
    Anne Sexton (1928–1974)

    Clearly, some time ago makers and consumers of American junk food passed jointly through some kind of sensibility barrier in the endless quest for new taste sensations. Now they are a little like those desperate junkies who have tried every known drug and are finally reduced to mainlining toilet bowl cleanser in an effort to get still higher.
    Bill Bryson (b. 1951)