Results 1 to 3 of 3
I have redhat version 4.4 kernel 2.6.x 32-bit OS, but I have 64-bit system with 32G RAM. I have older PCI cards I must use, so I can't not upgrade ...
- 10-02-2008 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 6
Accessing > 4G RAM space
I have redhat version 4.4 kernel 2.6.x 32-bit OS, but I have 64-bit system with 32G RAM. I have older PCI cards I must use, so I can't not upgrade to 64 bit OS.
I see all 32G RAM from /proc/meminfo or free commands.
I use malloc() in my C progrmming to get RAM memory, but I need to go beyond 4G. Malloc return 32-bits and it only go upto 4G of RAM.
Please advice how I can allocate memory from greater than 4G RAM space. Thanks in advance.
- 10-02-2008 #2
Hmmm..... I really don't think it's possible to use >4G of RAM with a 32 bit OS. If you can't upgrade to 64 bit, then I think you might be stuck.
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
- 10-02-2008 #3
It is possible to recompile the Linux kernel to handle more than 4GB of RAM on a 32-bit machine. Server distributions do it. In Redhat Enterprise I think they call it the PAE (Physical Address Extension) kernel. I had an article on it at one point but I seem to have misplaced it.
Registered Linux user #270181
TechieMoe's Tech Rants


Reply With Quote