Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jul 1999 18:54:51 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        jon@oaktree.co.uk (Jon Ribbens)
Cc:        dcs@newsguy.com, freebsd-hackers@FreeBSD.ORG, tech-userlevel@netbsd.org, tech@openbsd.org
Subject:   Re: Replacement for grep(1) (part 2)
Message-ID:  <199907120154.SAA39852@bubba.whistle.com>
In-Reply-To: <19990712022424.A1390@oaktree.co.uk> from Jon Ribbens at "Jul 12, 99 02:24:24 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Jon Ribbens writes:
> > Because memory (as in *real* memory, either RAM or swap) is
> > allocated on-demand. So you can allocate any amount of virtual
> > memory that the system can possibly provide you, even though you'll
> > run out of memory much earlier, because other resources are also
> > consuming it.
> 
> Yuck. That's a complete abomination. What's the point of it? It's turning
> an out-of-memory situation from an easily-detected recoverable temporary
> resource shortage which can be worked-around or waited out, into an
> unrecoverable fatal error. Do a significant number of programs really
> request memory which they then proceed not to use?

See the various threads from years past regarding the overcommit debate.
In short, it depends on your application(s) which is better.. 

By the way, is there a sysctl that controls this behavior now?
There was talk of adding it before..

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907120154.SAA39852>