Using Swap space
Hi All
I have an application consisting of lots of processes. When ever I start my applicaiton, I seem to be running out of swap space. I see that there is a lot of reserved space. Means the applications are attaching shm and/or requesting mallocs. Is there any way to fix this, either by debug by some mem tool or by any compiler options? I am running this on Solaris 10 with binaries compiled in sun studio 11 compiler set.
Thanks in advance.
# 1
> Hi All
>
> I have an application consisting of lots of
> processes. When ever I start my applicaiton, I seem
> to be running out of swap space.
How are you viewing this?
> I see that there is
> a lot of reserved space. Means the applications are
> attaching shm and/or requesting mallocs.
Also, just the forking will need to reserve space as well.
> Is there any
> way to fix this,
I don't see that anything is broken. What are you trying to fix? You need memory to run lots of programs. Have you tried increasing the swapfiles on the machine? That will handle increased reservation requirements.
--
Darren