Out of Memory - Per-process Memory Limits

Per-process Memory Limits

A system may limit the amount of memory each process may use. This is usually a matter of policy but it can also happen when the OS has a larger address space than is available at the process level. Some high-end 32-bit systems come with 8GB or more of system memory, even though any single process can only access 4GB of it in a 32-bit flat memory model.

A process that exceeds its per-process limit will have attempts to allocate further memory, for example with malloc, return failure. A well-behaved application should handle this situation gracefully; however, many do not. An attempt to allocate memory without checking the result is known as an "unchecked malloc".

Read more about this topic:  Out Of Memory

Famous quotes containing the words memory and/or limits:

    “We are made happy when reason can discover no occasion for it. The memory of some past moments is more persuasive than the experience of present ones. There have been visions of such breadth and brightness that these motes were invisible in their light.”
    —Henry David Thoreau (1817–1862)

    “Mysticism and exaggeration go together. A mystic must not fear ridicule if he is to push all the way to the limits of humility or the limits of delight.”
    —Milan Kundera (b. 1929)