Skip site navigation (1)Skip section navigation (2)
Date:      05 Jul 2005 15:49:10 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        <scuba@centroin.com.br>
Cc:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: Where is the memory
Message-ID:  <44ekad3ufd.fsf@be-well.ilk.org>
In-Reply-To: <Pine.BSI.4.33.0507051602100.13812-100000@hypselo.centroin.com.br>
References:  <Pine.BSI.4.33.0507051602100.13812-100000@hypselo.centroin.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
<scuba@centroin.com.br> writes:

> On Tue, 5 Jul 2005, Chuck Swiger wrote:
>=20
> |scuba@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 spa=
ce to
> |cache stuff from disk, unless and until that memory is needed for someth=
ing else.
>=20
> 	It seems that this is the case. I wrote a small program to
> allocate a large block of memory (more them that shown as free) and the
> system doesn=B4t swap.

That isn't relevant.  The memory won't even be mapped in until it is
accessed.=20=20

> 	That is the memory top shows as "Inactive"?

I don't understand the question.  I suspect you are looking for the
following bit of the FreeBSD documentation:
http://www.br.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEM=
EM



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ekad3ufd.fsf>