If the script ends, the operating system frees the memory. So either your OS is corrupted or more likely your script never ends and stays as a defunct process. Try ps -aux to see all processes, top shows you only a part.
Other interesting OS commands you might have on your solaris: truss to trace the OS calls of your script, /usr/proc/bin/pmem to list memory usage, /usr/proc/bin/pfiles to list open files
In reply to Re: memory not freed after perl exits. Solaris.
by jethro
in thread memory not freed after perl exits. Solaris.
by Workplane
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |