From owner-freebsd-questions Thu Aug 10 5: 2: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 779E737B63B; Thu, 10 Aug 2000 05:01:57 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 10 Aug 2000 13:01:54 +0100 (BST) Date: Thu, 10 Aug 2000 13:01:54 +0100 From: David Malone To: "G.B.Naidu" Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Memory leakage... Message-ID: <20000810130154.A1196@walton.maths.tcd.ie> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from gbnaidu@sasi.com on Thu, Aug 10, 2000 at 05:05:26PM +0530 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Aug 10, 2000 at 05:05:26PM +0530, G.B.Naidu wrote: > My question is what could be the reason for this drastic increase in vsz > column of ps -aux output? Is it because of unfreed malloced memory? Why > rss is stable? Somebody could help me when will the vsz(virtual > size) increases? Sounds like you're allocating memory and not freeing it. Once the your program is finished with the memory and then allocates more the unused memory will be swapped out, and so not contribute to the residant size. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message