The evidence looks contradictory. A process appears to have a large virtual size, a much smaller resident size, and a successful allocation that has not filled the machine’s RAM. Somewhere else, the system reports a quantity called Committed_AS. The easiest verdict is that one of the numbers must be wrong. A more useful investigation asks what each number claims to count. The apparent contradiction often comes from placing address space, resident pages, and accounting commitments into one imagined inventory, then expecting the inventory to balance.
Here is a deliberately invented fragment for examination, with all sizes expressed in GiB:
One process: virtual size 32
One process: resident size 4
Whole system: committed amount 12
These are assumed values, not a trace from the server hosting ITNWS. The whole-system line is not another measurement of the selected process, and the process lines do not describe the same property. Adding them would not produce a meaningful total memory use. The point of displaying them together is to make the temptation visible. A monitoring dashboard can place unrelated scopes close enough that visual proximity begins to impersonate a common definition.
The first number describes an address space
A process can have virtual mappings without having a distinct resident physical page backing every mapped byte at the instant of observation. File mappings, shared mappings, and anonymous allocations have different relationships to backing storage and physical residency. A large address-space number therefore does not independently prove that the same amount of RAM is occupied exclusively by that process. Linux’s proc filesystem documentation describes the relevant interfaces and their accounting distinctions. The documentation matters because short labels such as memory used can conceal which of several different quantities an interface has actually presented.
Resident size asks about pages currently resident under its accounting rules. It is useful, but it is not automatically an exclusive bill for physical memory attributable to one process. Shared pages complicate a simple sum across processes. A mapped file can have pages in the page cache, while several processes refer to the same underlying content. More detailed mapping information can help distinguish categories, but the distinction does not disappear merely because a top-level display prefers one compact number. Before accusing the virtual-size field of exaggeration, establish whether the accusation concerns address space, present residency, or exclusive physical ownership.
The allocation call itself supplies a different piece of evidence. A successful request through an allocator means the allocator returned storage under its contract. The allocator can also reuse space it already manages, so one application allocation is not necessarily one new kernel mapping. Even when the kernel provides a new range, the act need not eagerly establish a separate populated physical page for every byte. Later access can trigger page faults and further work. This is why obtaining an address and touching all of its writable pages can produce different observations, without requiring the original allocation result to have been fraudulent.
Commit accounting is concerned with backing commitments under the kernel’s selected policy, rather than simply adding current resident pages. The Linux overcommit documentation describes heuristic handling, permissive overcommit, and a stricter mode that limits the permitted committed amount. The selected mode changes how requests are admitted. It does not redefine virtual size as resident size. It also does not make every allocation-related problem the same kind of failure. An address-space limit, an accounting refusal, and a later inability to obtain a needed resource can appear at different moments and require different explanations.
The commitment has rules of inclusion
A file-backed mapping and an anonymous writable mapping need not have the same accounting cost. The overcommit document distinguishes read-only or shared file mappings from private writable mappings, and sets out corresponding rules for anonymous mappings. The reason is not that all mapped bytes have become physically different sizes. It is that the possibility of requiring private writable backing differs. The system must account for what a mapping may require under the applicable rule, rather than treating every virtual byte as an identical new physical demand. The inclusion rule is part of the number, just as the observation scope is.
Copy-on-write makes this particularly visible after a fork. Parent and child can initially share pages, while later writes may require private copies. Immediate physical sharing therefore does not establish that no additional backing commitment is relevant. The overcommit accounting checks associated with fork concern those possible private needs under its rules. A user looking only at present resident sharing can miss why admitting another process is an accounting decision. Conversely, a larger commitment is not proof that all potential copies already occupy RAM. The promise and its current fulfillment are different observations of the same arrangement.
For strict overcommit handling, the configured limit depends on swap and the eligible fraction or amount of physical memory, with documented treatment of reserved HugeTLB memory and the relevant parameters. Consider a simplified teaching case: 16 GiB of eligible physical RAM, 8 GiB of swap, and a ratio of 50%, with the simplifying assumptions explicitly stated. The resulting accounting limit is 8 + 8 = 16 GiB. That is an example of a policy calculation. It is not a claim that a real machine exposes exactly that limit after every reservation or that the process can exclusively occupy the entire amount without encountering other conditions.
The figure separates the invented process observations from the system commitment and the separate limit example. Its quantities should not be stacked as if each represented another layer of the same occupied RAM. A resident-size bar can be smaller than a virtual-size bar for a legitimate reason, while a system commitment includes work outside the selected process. The diagram supplies a visual warning against invalid addition. It is not a measured memory map and does not reconstruct every mapping that could produce the illustrative values. There can be many such arrangements, which is why the definitions matter more than guessing one from a sparse dashboard.

The names CommitLimit and Committed_AS are useful precisely because they keep the accounting subject explicit. A difference between them describes available room within that accounting relationship, not a direct measurement of immediately free RAM. Meanwhile, a low MemFree value can coexist with reclaimable cached contents, and a large virtual address space can coexist with modest residency. These observations should be compared through their definitions rather than forced into one subtraction. Asking how much physical capacity can be made available now is a different question from asking how much additional commitment policy will admit.
Mode 2 is sometimes summarized too aggressively as a guarantee that out-of-memory failures cannot happen. The documentation describes its purpose and important qualifications; the entire system has more constraints than the simple example’s sum. Memory cgroups can impose separate limits. Particular allocations and resource requirements can fail for reasons not removed by the global commitment calculation. Stack growth also deserves attention in strict arrangements, as the overcommit documentation explains. The useful interpretation is that the policy controls a defined class of commitment admission. Turning it into a warranty for every future operation would erase the boundaries that make the mechanism understandable.
A flag is not an escape from those boundaries merely because its name suggests one. The document states that MAP_NORESERVE is ignored in strict mode. That detail illustrates a general investigative discipline: read the rule for the selected mode rather than infer behavior from a flag’s English name alone. It also explains why observations from a permissive configuration cannot be transferred unchanged to a strict one. The same application behavior can meet different admission policy. The resulting refusal is then evidence about that policy interaction, rather than proof that physical RAM was already completely occupied at the moment the request failed.
Timing can produce another false contradiction. Virtual mappings, resident pages, and global commitment can change between separate reads. A dashboard that refreshes each field independently may show values from slightly different moments. This does not invalidate the fields, but it limits the conclusions supported by an apparent instantaneous relationship. The earlier invented fragment deliberately avoids claiming such synchronization. A real investigation should preserve the collection method and relevant workload interval. If the suspected problem concerns a short allocation burst, a slowly refreshed summary can miss the event that caused the application’s refusal or subsequent recovery.
There is also a difference between a number being permitted and an application handling refusal correctly. A program that assumes every allocation or fork must succeed has made an application-level assumption. A stricter policy can expose that assumption earlier, while a permissive policy can defer a problem to a later demand. Neither timing automatically proves that one policy is universally appropriate. The meaningful choice depends on the service’s intended behavior and its treatment of failure. This article changes no policy. It explains why admission and actual use are different moments that an application’s error handling must take seriously.
The investigation can now withdraw the original accusation. The virtual-size field described mappings. The resident-size field described residency under its rules. The commitment field described a system-wide accounting quantity. None promised to be another spelling of the others. A good explanation retains those statements and then asks which one is relevant to the observed symptom. If the symptom is refusal to admit a request, commitment policy may matter. If it is physical pressure, residency and reclaim behavior become relevant. If it is a misleading process total, the mapping categories and sharing need closer examination.
The fragment never needed its numbers to agree. It needed its labels to remain attached. A successful allocation, a reserved range, a presently resident page, and a future backing commitment can all be real facts about memory without being equal amounts of occupied RAM. Once those facts are separated, the apparent inconsistency becomes a description of the system’s design. The next useful piece of evidence is the one that connects a specific failure or delay to the appropriate mechanism, rather than another large number placed under the undifferentiated heading memory.
Sources checked on October 22, 2026. All displayed sizes and the limit calculation are hypothetical; no overcommit, swap, or service configuration was changed.



