Running with vm.overcommit_memory=2

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Fri Feb 18 21:05:18 UTC 2005


On Fri, Feb 18, 2005 at 04:25:09PM +0100, Ralf Ertzinger wrote:
> Hi.
> 
> Rik van Riel <riel at redhat.com> wrote:
> 
> > NOTABUG
> > 
> > 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.
> 
> How much memory does it take to clone() a bash?
> 

$ ps -o size,vsz,rss,args 
SZ  VSZ  RSS COMMAND
1428 6244 2212 -bash

About 1428MB, I guess. Not that it would be consumed, but that the
kernel must guarantee to be available.

Regards,
Luciano Rocha

-- 
6/9




More information about the fedora-devel-list mailing list