Operating System - HP-UX
1833994 Members
4390 Online
110063 Solutions
New Discussion

How to increase virtual memory

 
Binu_5
Regular Advisor

How to increase virtual memory

Hi

I have some problem in virtual memory

If I excecute one programe it is flashing
virtual memory exhausted error
Can any tell me how to increse the vitual memory

Here is my memory info

Physical Memory: 3587.2 MB xx x
xx xxReal Memory: xx x
xx xx Active: 32306.5 KB xx x
xx xx Total: 100489.1 KB xx x
xx xxVirtual Memory: xx x
xx xx Active: 56677.4 KB xx x
xx xx Total: 156558.2 KB xx x
xx xxFree Memory Pages: 746726 at 4 KB/page xx x
xx xxSwap Space: xx x
xx xx Avail: 7168 MB xx x
xx xx Used: 130 MB


Thanks
Binu
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: How to increase virtual memory

Though I think it's more likely that your program has a problem, you can increase the virtual memory by adding more swap space. You might also want to review the kernel parameters maxdsiz, maxssiz, maxtsiz, and their 64bit brethren.


Pete

Pete
Binu_5
Regular Advisor

Re: How to increase virtual memory

Hi

I have checked the values you have mentioned in a working system and a non working system and seems to be identical

Is there any thing more to compare

Thanks
Binu
Venkatesan_5
Frequent Advisor

Re: How to increase virtual memory

Hi,

See the above parameters mentioned by Pete Randall are five discrete segments of virtual memory....
If u say that these parametes are identical on both working and non-working servers then....probably u may have to create a filesystem and do swapon on that filesystem ....in your data also it indicates no swap space...

...U can try this , I think this should solve your problem.....

regds
Venkatesan.
Jino.P.V
Frequent Advisor

Re: How to increase virtual memory

Hi Binu,

Figure-out which application is causing kernel virtual memory to
become so fragmented as to cause this problem, and get it to
due better garbage collection.

Try increasing the size of the resource map so that less will be lost.
The sysmap rmap defaults to a minimum of 800 entries, but will
scale up to 2*nproc. So, increasing the size of nproc will
increase the size of the rmap. If it's possible to increase nproc
without causing other adverse effects, this is probably the best
solution.

Regards

Jino