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:

    I hid my love when young till I
    Couldn’t bear the buzzing of a fly;
    I hid my life to my despite
    Till I could not bear to look at light:
    I dare not gaze upon her face
    But left her memory in each place;
    Where’er I saw a wild flower lie
    I kissed and bade my love good-bye.
    John Clare (1793–1864)

    [I support] term limits for career politicians and the death penalty for career politicians.
    William Frist (b. 1952)