Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Feb 2005 13:58:36 +0100
From:      "Jorn Argelo" <jorn@wcborstel.nl>
To:        =?ISO-8859-1?Q?Lu=EDs_Vit=F3rio_Cargn?=ini <cargnini@matrix.com.br>, freebsd-questions@freebsd.org, freebsd-questions-local@be-well.ilk.org
Subject:   Re: Memory problems
Message-ID:  <20050210125412.M4080@wcborstel.nl>
In-Reply-To: <1108036463.99719.2.camel@shark.xsynapse.com>
References:  <1107512189.23926.1.camel@shark.xsynapse.com> <444qgsmswf.fsf@be-well.ilk.org> <1108036463.99719.2.camel@shark.xsynapse.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Feb 2005 09:54:23 -0200, Luís Vitório Cargnini wrote
> thanks, but the problem is that it's using and even when i kill process
> the memory usage remains ontouched and swap never been free.

You're comparing the memory management with Windows. BSD and Linux do it
completely different. As long as you still have free space in your RAM, it's
not going to remove the program from your RAM. Unlike Windows, which kicks it
out at the moment the program is being closed. 

If you run top, you have an memory overview. The active part is the RAM it's
really using. The other ones are not really being used but are just stored in
case you restart them again. It's kind of the same idea as the cache with an CPU.

Why not use all the memory the system has? It's by far a better system then
Windows does if you ask me.

Jorn

> 
> On Fri, 2005-02-04 at 07:06 -0500, Lowell Gilbert wrote:
> > Luís Vitório Cargnini <cargnini@matrix.com.br> writes:
> >
> 
> > Solve what?  Nothing you've mentioned is a problem.  
> > 
> > See the FAQ entry "Why does top show very little free memory even when
> > I have very few programs running?": 
> > http://www.br.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM
> > 
> > 
> -- 
> Thanks & Regards
> Luís Vitório Cargnini
> Bsc. Computer Science



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