From owner-freebsd-questions@FreeBSD.ORG Wed Aug 30 19:05:02 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 D069516A4DE for ; Wed, 30 Aug 2006 19:05:02 +0000 (UTC) (envelope-from jordilin@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id E16B643D68 for ; Wed, 30 Aug 2006 19:05:01 +0000 (GMT) (envelope-from jordilin@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so185174nzn for ; Wed, 30 Aug 2006 12:05:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=o6qw7TZprw8+H8okekeHXrOk8Co4NonQeSpz+BpLHOM4N/E0EBTWS8fM/h2LdiWQkbNv1orr5ST1HikajEOwJ7QJewiHGVhmR68KooKbbbjzWISgCHxGc1LAVUIzXngJkz6Bl2CPjKx4XcUlx5bsih3bAUQijNzi4XKw5q+5UMM= Received: by 10.65.239.13 with SMTP id q13mr1204833qbr; Wed, 30 Aug 2006 12:05:01 -0700 (PDT) Received: by 10.65.231.11 with HTTP; Wed, 30 Aug 2006 12:05:00 -0700 (PDT) Message-ID: <94ff3700608301205x4b091709ufe366822e2aac39@mail.gmail.com> Date: Wed, 30 Aug 2006 21:05:00 +0200 From: "Jordi Carrillo" To: freebsd-questions@freebsd.org In-Reply-To: <20060830145222.GB65929@sentinelchicken.net> MIME-Version: 1.0 References: <94ff3700608301058r1b0f2308u7f7b9e86f55b610f@mail.gmail.com> <20060830145222.GB65929@sentinelchicken.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Fwd: Install then reboot 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: Wed, 30 Aug 2006 19:05:02 -0000 In fact when compiling, freebsd uses lots of RAM, but then when finished, 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, ---------- Forwarded message ---------- From: Jason Morgan Date: 30/08/2006 16:52 Subject: Re: Install then reboot To: freebsd-questions@freebsd.org 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 main > problem is that not all memory used in compilation is freed, so it can be a > problem (meaning rebooting) after compiling a very big software such as > openoffice or gnome. 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. Cheer, Jason _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- http://jordilin.wordpress.com