Operating System - HP-UX
1827859 Members
2819 Online
109969 Solutions
New Discussion

Need help with memory management

 
Paker Olga
New Member

Need help with memory management

Hello,

We need to increase the data segment available for our process to 2.8 Gb, as "chatr +q4p enable" allows (or at least +q3).
Now we are using EXEC_MAGIC option, but we are already close to the limit.
Could anyone help me with more information on q3 and q4? How exactly the memory is managed? What happens with the shared objects? What are the negative sides of those options?

Thanks and Regards,
Olga.
3 REPLIES 3
John Palmer
Honored Contributor

Re: Need help with memory management

Have you read the Process Management White Paper, supplied with HP-UX?

It's: /usr/share/doc/proc_mgt.txt

Regards,
John
T G Manikandan
Honored Contributor

Re: Need help with memory management

The link John has pointed out is for process Mgt.There is also another white paper for memory mgt.

/usr/share/doc/mem_mgt.txt
Bill Hassell
Honored Contributor

Re: Need help with memory management

Always check both of the papers mentioned above, and make sure that you are up to date on patches. Getting the upper quadrants to map into a single data area is tricky and needs the latest memory management patches. Note that *ALL* problems with quadrant mapping limitations disappear if you simply recompile your program as a 64bit executable. Now you can have hundreds of Gb for a data area. (assuming you have a 64bit OS and CPU).


Bill Hassell, sysadmin