I need a quick reply to this question:
I have a process in production that fork()s and exec()s another
process. During that fork(), my main memory requirement is pushed
to the upper limit. The process fails, and the user is knocked
completely out of OpenWindows.
I know that we can increase the swap space and this should rectify
the problem. However, I have a different problem. During invest-
igation of this, I found that our process' size did not get smaller,
after having successfully free()ed internal heap that we allocated.
I seem to remember hearing that a process will grow in size according
to memory allocations, but even after that mem is free()ed, does not
not necessarily shrink.
My process' size is 2,318,336 bytes. The fork() duplicates that
process and that's when the upper bound of main mem is reached.
We're running on Sparc2's and upgraded 1+'s, OL3.0, X11R3.
Please respond by e-mail to my above address. Thanks in advance.
Mark