demand paging

English

Examples

It is possible to map a 100 GiB file into RAM on Unix-like systems using the mmap syscall: this will be “virtually” mapped into the process's address space, but RAM will not actually be used to hold that whole file; when specific addresses that make up the memory-mapped file are read/written, only those pages will actually be loaded into RAM.

Noun

demand paging (uncountable)

  1. (operating systems) A form of memory management using paging, whereby pages in a process's address space are only allocated and mapped to physical memory (frames) the moment the process needs to use them, rather than ahead-of-time.
    Coordinate term: anticipatory paging