>>>> "Andy" == Andy Piper
<andyp(a)parallax.co.uk> writes:
Andy> If I start gnus using movemail to read my mail my xemacs
Andy> image size grows from about 8Mb to 20-30Mb (this is with a
Andy> fixed cygwin from Chris Faylor). If I quit gnus the memory
Andy> usage does not go down at all. Is this what people would
Andy> expect? What does it look like on a UNIX machine? I'm just
Andy> wondering whether GC is actually collecting anything and how
Andy> I prove whether it is.
Here I've started `gnus', read a few articles, quit `gnus', looked at
some jpegs with `v' from `dired', and along the way checked the
memory footprint. It shows SIZE and RSS going up and down, so memory
is being malloc()'d and free()'d for certian. (Linux 2.0.35)
If I visit a very large file, then kill the buffer it was in, the
SIZE goes up then down by a significant amount.
karlheg@bittersweet:~
% ps wmax | pgrep 'RSS|[x]emacs '
PID TTY MAJFLT MINFLT TRS DRS SIZE SWAP RSS SHRD LIB DT COMMAND
11844 ? 7694 236880 3488 16156 19644 0 19644 3912 0 3932 xemacs -f
gnuserv-start
karlheg@bittersweet:~
% ps wmax | pgrep 'RSS|[x]emacs '
PID TTY MAJFLT MINFLT TRS DRS SIZE SWAP RSS SHRD LIB DT COMMAND
11844 ? 7849 237210 3488 16352 19840 0 19840 3912 0 3981 xemacs -f
gnuserv-start
karlheg@bittersweet:~
% ps wmax | pgrep 'RSS|[x]emacs '
PID TTY MAJFLT MINFLT TRS DRS SIZE SWAP RSS SHRD LIB DT COMMAND
11844 ? 7866 238584 3488 16608 20096 0 20096 3912 0 4045 xemacs -f
gnuserv-start
karlheg@bittersweet:~
% ps wmax | pgrep 'RSS|[x]emacs '
PID TTY MAJFLT MINFLT TRS DRS SIZE SWAP RSS SHRD LIB DT COMMAND
11844 ? 7881 240715 3488 16372 19860 0 19860 3912 0 3986 xemacs -f
gnuserv-start
karlheg@bittersweet:~
% ps wmax | pgrep 'RSS|[x]emacs '
PID TTY MAJFLT MINFLT TRS DRS SIZE SWAP RSS SHRD LIB DT COMMAND
11844 ? 7925 244613 3488 16544 20032 0 20032 3912 0 4029 xemacs -f
gnuserv-start
You have new mail.
karlheg@bittersweet:~
% ps wmax | pgrep 'RSS|[x]emacs '
PID TTY MAJFLT MINFLT TRS DRS SIZE SWAP RSS SHRD LIB DT COMMAND
11844 ? 7950 245854 3488 16440 19928 0 19928 3912 0 4003 xemacs -f
gnuserv-start
karlheg@bittersweet:~
% ps wmax | pgrep 'RSS|[x]emacs '
PID TTY MAJFLT MINFLT TRS DRS SIZE SWAP RSS SHRD LIB DT COMMAND
11844 ? 8032 247203 3488 17268 20756 0 20756 3912 0 4210 xemacs -f
gnuserv-start
karlheg@bittersweet:~
% ps wmax | pgrep 'RSS|[x]emacs '
PID TTY MAJFLT MINFLT TRS DRS SIZE SWAP RSS SHRD LIB DT COMMAND
11844 ? 8032 247337 3488 16616 20104 0 20104 3912 0 4047 xemacs -f
gnuserv-start
karlheg@bittersweet:~
%