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:

    Everybody’s an artist. Everybody’s God. It’s just that they’re inhibited. I believe in people so much that if the whole of civilization is burned so we don’t have any memory of it, even then people will start to build their own art. It is a necessity—a function. We don’t need history.
    Yoko Ono (b. 1933)

    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)