From: Brian Gerst <bgerst@didntduck.org>
To: anderson@centtech.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: BIGMEM kernel question
Date: Fri, 06 Jul 2001 17:02:22 -0400 [thread overview]
Message-ID: <3B46275E.C84E0E38@didntduck.org> (raw)
In-Reply-To: <3B4624C9.18290280@centtech.com>
Eric Anderson wrote:
>
> I am currently running a RedHat 7.1 machine with the 2.4.3-12enterprise
> kernel. My machine has 4GB of RAM, and 6GB of swap. It appears that I
> can only allocate 2930 MB (using heapc_linux and other programs). What
> do I need to do to get Linux to allow allocation of all available memory
> (up to the 4GB)? All the FAQs I have seen so far explain only how to
> get Linux to recognize the 4GB, and not use it all in one process. Any
> help would be greatly appreciated.
On a 32-bit architecture, Linux gives each user process 3GB of virtual
address space. Into that 3GB address space you need to map your stack,
exectuable images, shared libaries, etc. with the rest left for the
heap. If you need more memory in a single process you're better off
moving to a 64-bit architecture. Note that multiple processes, as well
as the various caches can use the remaining memory.
--
Brian Gerst
next prev parent reply other threads:[~2001-07-06 21:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-06 20:51 BIGMEM kernel question Eric Anderson
2001-07-06 21:02 ` Brian Gerst [this message]
2001-07-06 21:02 ` Alan Cox
2001-07-06 21:16 ` Eric Anderson
2001-07-06 21:28 ` Rik van Riel
2001-07-06 21:46 ` Alan Cox
2001-07-06 21:16 ` NCR 35XXXX MCA bus and SMP Paulo
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=3B46275E.C84E0E38@didntduck.org \
--to=bgerst@didntduck.org \
--cc=anderson@centtech.com \
--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