Subject: tcsh static/dynamic mem usage
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Frank van der Linden <vdlinden@fwi.uva.nl>
List: current-users
Date: 11/13/1993 20:59:56
After recompiling tcsh to use shared libs, I was a bit surprised by
the memory usage as reported by 'top' for the statically and dynamically
linked executables (shortly after starting them both up):

10198 root       3    0  936K  644K sleep   0:00  3.30%  1.66% tcsh.dynamic
10196 root      18    0  552K  428K sleep   0:00  0.90%  0.59% tcsh.static

The dynamically linked version uses much more memory than the statically
linked version (huh?). Or is 'top' just confused by the shared memory
pages?

- Frank

------------------------------------------------------------------------------