in reply to memory not freed after perl exits. Solaris.
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
|
|---|