From owner-freebsd-questions Thu Jun 29 9: 8: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.netcologne.de (mail2.netcologne.de [194.8.194.103]) by hub.freebsd.org (Postfix) with ESMTP id 994F137BEA5 for ; Thu, 29 Jun 2000 09:07:54 -0700 (PDT) (envelope-from pherman@frenchfries.net) Received: from bagabeedaboo.security.at12.de (dial-194-8-205-100.netcologne.de [194.8.205.100]) by mail2.netcologne.de (8.9.3/8.9.3) with ESMTP id SAA02174; Thu, 29 Jun 2000 18:07:41 +0200 (MET DST) Received: from localhost (localhost.security.at12.de [127.0.0.1]) by bagabeedaboo.security.at12.de (8.10.2/8.10.2) with ESMTP id e5TG7V212680; Thu, 29 Jun 2000 18:07:31 +0200 (CEST) Date: Thu, 29 Jun 2000 18:07:31 +0200 (CEST) From: Paul Herman To: Kenneth Wayne Culver Cc: Sam Xie , freebsd-questions@FreeBSD.ORG Subject: Re: memory leak? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 29 Jun 2000, Kenneth Wayne Culver wrote: > Well, I know for sure that netscape leaks memory, but not that > much, for most purposes though, the "inactive" memory is free for > use by other programs, it's just being kept as inactive because > some program stored in that memory that has exited might be run > again, and it's faster to run from inactive memory than disk if it > hasn't been used for anything else... I think my explanation is > WAY simplified, but I think I got it basically right. I think you are thinking about "cache" memory. As far as I understand it, "inactive" memory is just "active" memory that hasn't been used in 30 seconds i.e. dirty pages that are still associated with objects and cannot be reused until they are cleaned or freed (i.e. moved into either "cache" or "free".) At least, that's how I've understood it. As far as tracking down memory leaks (original post), I would first reboot the machine, take a "ps aux", and then the next day another "ps aux" and see what has changed. You are sure to find something. -Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message