From: Andrew Morton <akpm@digeo.com>
To: Burton Windle <bwindle@fint.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.5] Kernel won't release cache unless pushed
Date: Mon, 7 Apr 2003 13:49:02 -0700 [thread overview]
Message-ID: <20030407134902.4a25c3bf.akpm@digeo.com> (raw)
In-Reply-To: <Pine.LNX.4.43.0304071615000.3052-100000@morpheus>
Burton Windle <bwindle@fint.org> wrote:
>
> Hello. In both the 2.5 and 2.4 kernel series, if I do an 'ls -lR' on a
> directory with several gigs of data, the kernel will cache all of the
> metadata (in dentry_cache, I think), which is fine (we don't want ram to
> go to waste).
>
> However, large malloc's then fail, returning ENOMEM, because the kernel
> won't give up the memory.
Does
echo 1 > /proc/sys/vm/overcommit_memory
fix it?
There's something borked in the overcommit crystal ball gazing. It's on
my todo list somewhere.
prev parent reply other threads:[~2003-04-07 21:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-07 20:30 Burton Windle
2003-04-07 20:49 ` Andrew Morton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030407134902.4a25c3bf.akpm@digeo.com \
--to=akpm@digeo.com \
--cc=bwindle@fint.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®