lkml.org 
[lkml]   [2005]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Question on the current behaviour of malloc () on Linux
On 12/21/05, linux-os (Dick Johnson) <linux-os@analogic.com> wrote:
[snip]
>
> To make your wishes come true execute:
> echo "1" >/proc/sys/vm/overcommit_memory

s/"1"/"2"/

> ... as a super-user.
>
> That will make malloc() fail when there isn't any more virtual
> memory.
>
[snip]

--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-21 20:03    [W:0.058 / U:0.068 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site