Skip to contentSkip to conversation

memory allocation on linux

DISCUSSION Lee Chin 2 participants 2 messages Sep 20, 2002 Memory management

lore
Share & tools
lore

Lee Chin

author
#0 lore raw

Hello,
I downloaded the latest 2.5 Kernel.

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.

I have the kernel compiled with 8GB memory support.

However, I am unable to allocate more than 2GB for my process.

How can I acheive this?

Thanks
Lee

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/
#1 lore raw
Quoted 5 lines · Lee Chin

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 · 10 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]

--
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/