Re: Small problem with malloc() tested on 2.1.117/115 (and maybe affecting others)

Division by Zero (paradox@maine.rr.com)
Sun, 23 Aug 1998 01:49:31 -0400


It is disabled! And it'll still overcommit memory???
(/proc/sys/vm/overcommit_memory contains 0)

Marc SCHAEFER wrote:

> Division by Zero <paradox@maine.rr.com> wrote:
> > I have found that when I malloc() memory and do not access it/clear it,
> > I can malloc() a very large amount (around 2 gigabytes). I only have
> > around 170 MB in swap and ram. If I immediately memset() after each
>
> Look for memory over-committing in the documentation. You can
> disable this if it is a problem for you, but system-wide only,
> and only in 2.1.x
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html