1823063 Members
3162 Online
109645 Solutions
New Discussion юеВ

increase virtual memory

 
SOLVED
Go to solution
szhiyong
Frequent Advisor

increase virtual memory

Hi,

I want to increase the virtual memory in the HP/UX 10.20.

Would someone tell me the precedure of increasing virtual memory to 400MB? There is only 200 MB virtual memory in my workstation.

Thanks a lot for your help.

zhiyong

My life is now asking and learning, I wish It can change into replying and discussing
4 REPLIES 4
Peter Kloetgen
Esteemed Contributor
Solution

Re: increase virtual memory

Hi Szhiyong,

easiest way is to use SAM:

disks and file systems

--> add logical volume
--> use as swap space
--> define size as 200 MB

When leaving the menu, SAM tells you he will create a new kernel because he needs to change a configurable parameter:

maxswapchunks will be set to a bigger value ( old_value+100=new_value

After this, you have to reboot your system, that's it....

Allways stay on the bright side of life!

Peter
I'm learning here as well as helping
szhiyong
Frequent Advisor

Re: increase virtual memory

Hi,Peter,

Thanks for your answer.

Would you please tell me how to check size of virtual memory?

Thanks a lot.

zhiyong
My life is now asking and learning, I wish It can change into replying and discussing
Peter Kloetgen
Esteemed Contributor

Re: increase virtual memory

Hi Szhiyong,

you can use the swapinfo- command to do so after rebooting the computer.

swapinfo -a

Displays information about all defined swap areas.That command should show you the new total size of swapspace. In another posting you told, you want to increase memory. Please remember, a good size of swapspace is:

amount_of_RAM * 2 (up to * 2.5)

so if you have a RAM- amount of 256 MB, take care to use round about 512 to 640 MB swapspace.

Allways stay on the bright side of life!

Peter
I'm learning here as well as helping
szhiyong
Frequent Advisor

Re: increase virtual memory

Hi,Peter,

Thanks a lot for your help.

Have a good day.

zhiyong
My life is now asking and learning, I wish It can change into replying and discussing