1753496 Members
4469 Online
108794 Solutions
New Discussion юеВ

Re: kernel-hugemem

 
SOLVED
Go to solution
Bob Manocchia
Regular Advisor

kernel-hugemem

I installed the hugemem kernel on a Red Hat 4 server with 10 gb of memory. I then selected this kernel to boot from and it looks ok but the user says that they still cannot address more than 2gb of memory in their Java app. Is there something else I need to do perhaps a kernel parm need to be tweaked.

Thanks
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: kernel-hugemem

Shalom,

hugemen kernel permits 16 gb of memory to be addressed via memory management.

The limitation may be in the java app or the tools you are using to compile it.

Please provide more details to get more accurate assistance.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
skt_skt
Honored Contributor

Re: kernel-hugemem

what about the kernel paramter "kernel.shmmax"? Not sure if that playing a a role in your context.
dirk dierickx
Honored Contributor
Solution

Re: kernel-hugemem

i think the java vm also has an option to set maximum addressable memory, though not sure. might be something to lookup.
Matti_Kurkela
Honored Contributor

Re: kernel-hugemem

2 GB sounds like the maximum size of a single process in a 32-bit Linux environment.
Running a 32-bit system with 10 GB of memory will allow you to run several processes of 2 GB size in parallel, but it won't allow you to exceed the architectural limitations on per-process address space.

Upgrade to a 64-bit version of the OS and use the -d64 option when starting the Java application.

MK
MK
Bob Manocchia
Regular Advisor

Re: kernel-hugemem

The developer found that it was a configuration option in his script. Thanks for the help.