From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 19:56:58 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84FA116A448 for ; Tue, 5 Jul 2005 19:56:58 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail24.sea5.speakeasy.net (mail24.sea5.speakeasy.net [69.17.117.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB49C44119 for ; Tue, 5 Jul 2005 19:49:11 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 10048 invoked from network); 5 Jul 2005 19:49:11 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail24.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 5 Jul 2005 19:49:11 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 381A92E; Tue, 5 Jul 2005 15:49:10 -0400 (EDT) Sender: lowell@be-well.ilk.org To: References: From: Lowell Gilbert Date: 05 Jul 2005 15:49:10 -0400 In-Reply-To: Message-ID: <44ekad3ufd.fsf@be-well.ilk.org> Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD questions Subject: Re: Where is the memory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 19:56:59 -0000 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