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:

    Canst thou not minister to a mind diseased,
    Pluck from the memory a rooted sorrow,
    Raze out the written troubles of the brain,
    And with some sweet oblivious antidote
    Cleanse the fraught bosom of that perilous stuff
    Which weighs upon the heart?
    William Shakespeare (1564–1616)

    The ideology of this America wants to establish reassurance through Imitation. But profit defeats ideology, because the consumers want to be thrilled not only by the guarantee of the Good but also by the shudder of the Bad.
    Umberto Eco (b. 1932)