From: Mark Hahn <hahn@coffee.psychology.mcmaster.ca>
To: Wichert Akkerman <wichert@cistron.nl>
Cc: linux-mm@kvack.org
Subject: Re: Running out of memory in 1 easy step
Date: Thu, 14 Sep 2000 19:03:06 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.10.10009141857470.24004-100000@coffee.psychology.mcmaster.ca> (raw)
In-Reply-To: <20000914212004.A1304@cistron.nl>
> Not likely, there were still a couple hundreds of megabytes free and
> the process had allocated about 1.5Gb of data.
mmaping 1 to 4096 bytes consumes 8K from your address space:
one for the mmaped page, and one (virtual) guard page (unless
you use MAP_FIXED, of course.) 4G / 8K is approximately the 458878
you reported. actually, since maps begin at 1G, I would have
expected you to run out sooner...
regards, mark hahn.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
next prev parent reply other threads:[~2000-09-14 23:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-14 12:59 Wichert Akkerman
2000-09-14 15:56 ` Andi Kleen
2000-09-14 16:08 ` Wichert Akkerman
2000-09-14 18:43 ` Andi Kleen
2000-09-14 19:20 ` Wichert Akkerman
2000-09-14 23:03 ` Mark Hahn [this message]
2000-09-15 13:22 Mark_H_Johnson
2000-09-15 16:35 ` Mark Hahn
2000-09-15 16:53 Mark_H_Johnson
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=Pine.LNX.4.10.10009141857470.24004-100000@coffee.psychology.mcmaster.ca \
--to=hahn@coffee.psychology.mcmaster.ca \
--cc=linux-mm@kvack.org \
--cc=wichert@cistron.nl \
/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