how can I know the real memory size of a process?

From: Xu Zhimin <xuzm_at_ns.cetin.net.cn>
Date: Thu, 30 Apr 1998 18:21:25 +0800

Dear Manager:
    I want to know the real memory size of a process.
I used the command "ps -o rssize -p pid". But I found that
RSSIZE of the running process only grow in size, never shrink,
even after I freed the allocated memory in my program. why?
    Are there any other ways to know the real memory size of a
running process?
    If someone has experince on it ,please email to me. I 'll appreciate
it
very much. Thanks in advanced!


Received on Thu May 07 1998 - 03:13:14 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT