[Re:[lug] Memory problem]

Jeff Howell howeljs at segfault.stortek.com
Wed Nov 29 10:32:26 MST 2000


"Scott A. Herod" wrote:
> 
> Ick.  Just reread this.  The missing "not" changes the whole meaning.
> It should have read, "It did NOT correctly report usage when memory
> was released by a process."
> 
> Scott
> 

One thing to keep in mind when seeing the memory footprint of a process,
it includes the shared libraries it's linked against. If other processes
are using the same shared libraries, when the process is terminated the
libraries will remain in memory while the executable is removed. Thus
the amount of memory recovered will be less than expected. This is not
true for statically linked binaries as the libraries are included in the
executable.

-- 
 Jeff Howell
 EDS Unix Support
 
  Linux Slackware: The Ultimate NT Service Pack




More information about the LUG mailing list