process to use more than 2GB RAM
I have a machine running ORACLE with 8 cpu's and 8GB RAM. Linux not able to use more than 2GB RAm now. Do upgrading to 2.6 kernel will help ?
|
Recompiling the current kernel with appropriate settings
should do, 2.4 can handle up to 64GB ... or are you saying that the application can't allocate more than 2GB? Cheers, Tink |
How to recompile the kernel for this ?
Can u help me with recompiling the kernel to help use more than 2GB of RAM(upto 8GB).I'm currently using.
2.4.21-20.ELsmp Thanks |
Change into the directory with the kernel source.
Edit .config Find CONFIG_HIGHMEM and make sure it's a) no commented out and b) set to CONFIG_HIGHMEM=y CONFIG_HIGHMEM64G=y # CONFIG_HIGHMEM4G Follow the RH recommendations for kernel recompiling. Cheers, Tink |
Thanks Tink,
Let me see if can crak that. Thanks in advance. Rahul |
Hi Tink,
Following entry already there in .config file #CONFIG_NOHIGHMEM is not set #CONFIG_HIGHMEM4G is not set CONFIG_HIGHMEM64G=y Cheers, Rahul |
That looks correct ... odd.
What do you get when you issue free ? Cheers, Tink |
any idea on how to use ram more than 2GB ?
Thanks, Rahul |
Brings us back to my first question: who/what doesn't
use more than 2GB, the kernel or oracle? What's the output of free? Cheers, Tink |
total used free shared buffers cached
Mem: 8207480 8187212 20268 0 287068 7551764 -/+ buffers/cache: 348380 7859100 Swap: 4194216 0 4194216 |
I'm confused ... that clearly states that it uses 8GB.
What exactly is your problem? Cheers, Tink |
Don't know how it started.
previously it wasn't crossing 2GB. and i haven't done anything..seriously. But anyways thanks alot for your help, Cheers, Rahul |
What kind of processor is it? If it is a 32-bit processor, then *NO* process has more than 4GB total address space. Linux typically reserves the top 1GB of address space for the kernel, memory-mapped I/O, etc. If it's a 64-bit x86 processor, it could be that the program could be compiled in 32-bit mode.
|
All times are GMT -5. The time now is 02:55 PM. |