Definition
In computing, “high memory” refers to portions of a system’s physical RAM that lie above a defined address threshold and are not permanently mapped into the kernel’s address space. The term is most commonly used in the context of 32‑bit operating systems, especially the Linux kernel, where memory above the 4 GB boundary (or, on some platforms, above 896 MiB) is designated as high memory.
Technical Context
| Aspect | Details |
|---|---|
| Operating‑system usage | In the Linux kernel, the memory management subsystem divides physical RAM into “low memory” (directly addressable by the kernel) and “high memory” (addressable only through temporary mappings). High memory is accessed via the kmap/kunmap APIs, which create transient kernel mappings when needed. |
| Architecture relevance | 32‑bit x86 processors have a 4 GB virtual address space, split between user space and kernel space. Because the kernel can only map a limited portion of this space directly, any RAM beyond that limit is treated as high memory. |
| Performance implications | Accessing high memory incurs overhead because each access requires mapping and unmapping, leading to slower I/O and increased CPU usage compared to low memory. Consequently, systems with large amounts of RAM on 32‑bit platforms may experience performance degradation. |
| Mitigation strategies | • Use a 64‑bit operating system, which provides a vastly larger virtual address space and eliminates the low‑/high‑memory distinction. • Limit RAM to the amount that can be mapped as low memory (e.g., using the mem= boot parameter).• Employ kernel configuration options such as HIGHMEM64G to extend the usable high‑memory range on certain architectures. |
| Related terms | Low memory (directly mapped kernel memory), highmem (Linux kernel source identifier), PAE (Physical Address Extension, which raises the addressable RAM limit to 64 GB on 32‑bit x86). |
Historical Usage
The high‑memory concept originated with early 32‑bit PC architectures when typical RAM sizes (e.g., 64–256 MiB) comfortably fit within the kernel’s directly mappable range. As RAM capacities grew beyond this limit in the early 2000s, Linux introduced high‑memory support to allow systems to utilize larger memory pools while retaining compatibility with 32‑bit kernels.
Current Relevance
With the widespread adoption of 64‑bit hardware and operating systems, the practical importance of high memory has declined. Modern servers and desktops typically run 64‑bit kernels that can map the entire physical address space directly, rendering the low/high memory distinction largely obsolete. Nevertheless, the term remains relevant for legacy systems, embedded devices, and certain specialized environments that continue to use 32‑bit kernels.