Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2006 21:23:17 +0200
From:      Karol Kwiatkowski <freebsd@orchid.homeunix.org>
To:        Jordi Carrillo <jordilin@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Fwd: Install then reboot
Message-ID:  <44F5E5A5.3080208@orchid.homeunix.org>
In-Reply-To: <94ff3700608301205x4b091709ufe366822e2aac39@mail.gmail.com>
References:  <94ff3700608301058r1b0f2308u7f7b9e86f55b610f@mail.gmail.com>	<20060830145222.GB65929@sentinelchicken.net> <94ff3700608301205x4b091709ufe366822e2aac39@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jwm-freebsd-questions@sentinelchicken.net>
>> 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  <freebsd at orchid dot homeunix dot org>
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--



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