Charlie, On Thursday 20 October 2005 09:50, Charlie Smith wrote:
Why does top continue to show that memory into swap space after process that caused stats to go into swap space stops?
Much of the memory used by any given process is a direct reflection of disk content (executable files or memory-mapped shared libraries are a prime example). The kernel does not abandon those pages holding disk content because it could be used again soon. However, if no process is actively using a given page and the memory is needed for some other purpose, then the old, unused contents will be discarded and the new disk content loaded in its place. Please don't get bothered about high memory utilization. It's Linux's way of doing things and it's smart. Keeping memory free for no reason other than to keep it free is nothing more than wasting it.
Charlie
Randall Schulz