Ralf Ertzinger wrote:
Rik van Riel <riel(a)redhat.com> wrote:
>You configured the kernel to not overcommit memory, so it won't.
>It makes sure that all the memory that was requested is available
>for programs to use, regardless of whether programs actually use it.
Is the amount of memory that 'free' reports as 'free' (or /proc/meminfo
states as 'MemFree:') the amount of unrequested memory, or does it include
requested but not actually used memory?
used memory includes file-backed (cached) memory, and kernel memory, so
'free' does not fit any of your descriptions.
If the latter, where can one see the amount of unrequested memory?
total requested memory is in /proc/meminfo:Committed_AS, which is
limited by swap + half ram. subtract the former from the latter to see
how far you can go.
Do not meddle in the internals of kernels, for they are subtle and quick to panic.