Where is the memory

Chuck Swiger cswiger at mac.com
Tue Jul 5 18:15:58 GMT 2005


scuba at centroin.com.br wrote:
[ ... ]
> 	My problem is that I think something in the system is allocating
> memory and not releasing it.

The kernel will attempt to use all but a little RAM reserved as free space to 
cache stuff from disk, unless and until that memory is needed for something else.

It is possible that something you run, or FreeBSD itself, has a memory leak, 
but if so, you'd see process sizes and swap usage grow until they hit a limit 
or exhaust the available resources.  You're not using any swap, so it's not 
evident that there is a problem.

> 	The same applications used to run on a Freebsd 4.7 BOX with 1GB
> RAM, and only in some few cases had to swap out.
> 	Now, I´m moving to another machine with 2GB RAM, and I´m seeing
> where is the extra memory. I expected to have more free memory now.

Free memory is wasted memory.

-- 
-Chuck



More information about the freebsd-questions mailing list