Accessor RLIMIT-ADDRESS-SPACE

Syntax:

rlimit-address-space &key hard => limit

Arguments and values:

hard -- A generalized Boolean.

limit -- A non-negative integer.

Description:

Return the maximum size of the process's virtual memory (address space) in bytes. This limit affects calls to brk, mmap and mremap, which fail with the error ENOMEM upon exceeding this limit. Also automatic stack expansion will fail (and generate a SIGSEGV that kills the process if no alternate stack has been made available via sigaltstack). Since the value is a long, on machines with a 32-bit long either this limit is at most 2 GiB, or this resource is unlimited.

rlimit-address-space can be used with setf to set the limit.

Errors: