From owner-freebsd-questions@FreeBSD.ORG Wed Aug 30 19:23:23 2006 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 99F9A16A4DA for ; Wed, 30 Aug 2006 19:23:23 +0000 (UTC) (envelope-from freebsd@orchid.homeunix.org) Received: from orchid.homeunix.org (aud102.neoplus.adsl.tpnet.pl [83.27.11.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03B9643D73 for ; Wed, 30 Aug 2006 19:23:19 +0000 (GMT) (envelope-from freebsd@orchid.homeunix.org) Received: from [192.168.1.66] (blackacidevil.orchid.homeunix.org [192.168.1.66]) (authenticated bits=0) by orchid.homeunix.org (8.13.6/8.13.6) with ESMTP id k7UJNHmM007674 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 30 Aug 2006 21:23:18 +0200 (CEST) (envelope-from freebsd@orchid.homeunix.org) Message-ID: <44F5E5A5.3080208@orchid.homeunix.org> Date: Wed, 30 Aug 2006 21:23:17 +0200 From: Karol Kwiatkowski User-Agent: Thunderbird 1.5.0.5 (X11/20060731) MIME-Version: 1.0 To: Jordi Carrillo References: <94ff3700608301058r1b0f2308u7f7b9e86f55b610f@mail.gmail.com> <20060830145222.GB65929@sentinelchicken.net> <94ff3700608301205x4b091709ufe366822e2aac39@mail.gmail.com> In-Reply-To: <94ff3700608301205x4b091709ufe366822e2aac39@mail.gmail.com> X-Enigmail-Version: 0.94.1.0 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigC40B255FD80FF49FD881A45D" X-Virus-Scanned: ClamAV 0.88.4/1775/Wed Aug 30 20:43:22 2006 on orchid.homeunix.org X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: Fwd: Install then reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@orchid.homeunix.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2006 19:23:23 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC40B255FD80FF49FD881A45D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable [format recovered, please don't top post to the list] On 30/08/2006 21:05, Jordi Carrillo wrote: >> ---------- Forwarded message ---------- >> From: Jason Morgan >> Date: 30/08/2006 16:52 >> Subject: Re: Install then reboot >> To: freebsd-questions@freebsd.org >>=20 >> On Wed, Aug 30, 2006 at 07:58:58PM +0200, Jordi Carrillo wrote: >>> When I compile a new program from ports, freebsd takes quite a lot of= >>> RAM. >>> Is that something right or it's a flaw? It does happen to you? The ma= in >>> problem is that not all memory used in compilation is freed, so it ca= n be >> a >>> problem (meaning rebooting) after compiling a very big software such = as >>> openoffice or gnome. >>=20 >> How much memory FreeBSD uses when installing a port usually depends on= >> the port. However, how are you determining that the memory is not >> freed up after the port is done installing? Are you running into >> situation where a huge percentage of your ram is being used during the= >> build process, which then forces the system to swap *after* the >> install is complete? If you are determining the amount of free ram by >> simply looking at top(1), and the system is not swapping, then I don't= >> think you have an issue. FreeBSD will free up the memory when it needs= >> it. >>=20 >> Cheer, >> Jason > > In fact when compiling, freebsd uses lots of RAM, but then when finishe= d, I > don't see it frees the memory used. I see the ram consumption from the > gnome > system monitor. In any case, I have not payed a lot of attention since = I > haven't reach the point where freebsd has the need to use swap. > Thanks anyway, Basically, "free memory is wasted memory". It's in the FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEME= M Regards, Karol --=20 Karol Kwiatkowski OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc --------------enigC40B255FD80FF49FD881A45D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE9eWlezeoPAwGIYsRCMNYAJwLgAF/s9maLwKfJ+0UZGn9YJu0vgCeIJTK AXHJiRiE9NjoMADApg53nk0= =/l9N -----END PGP SIGNATURE----- --------------enigC40B255FD80FF49FD881A45D--