Skip to contentSkip to conversation

memory allocation on linux

DISCUSSION Lee Chin 1 participant 1 message Sep 20, 2002 Memory management

lore
Share & tools
lore

Lee Chin

author
#0 lore raw

Hi

Quoted 3 lines

If you link your program statically
you might be able to get up to nearly 3 GB of >memory for your process, but that's the limit...

Is that on a 32 bith machine that I can get upto 3GB? I have linked statically, but yet I max out at 2 GB. I thoiught with th elatest kernel, which already includes the BIGMEM patch, I should be able to go upto 3GB.

Thanks
Lee

----- Original Message -----
From: Rik van Riel <[email protected]>
Date: Thu, 19 Sep 2002 22:03:31 -0300 (BRT)
To: Lee Chin <[email protected]>
Subject: Re: memory allocation on linux

Quoted 21 lines · Lee Chin
Quoted 6 lines

I have a process trying to allocate a large amount of memory. I have 4 GB physical memory in the system and more with swap space.

However, I am unable to allocate more than 2GB for my process. How can I acheive this?

Switch to a 64-bit CPU. If you link your program statically you might be able to get up to nearly 3 GB of memory for your process, but that's the limit...

Rik

Signature · 5 lines
Bravely reimplemented by the knights who say "NIH".

http://www.surriel.com/		http://distro.conectiva.com/

Spamtraps of the month:  [email protected] [email protected]
Signature · 8 lines
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/