Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2000 13:01:54 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        "G.B.Naidu" <gbnaidu@sasi.com>
Cc:        freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: Memory leakage...
Message-ID:  <20000810130154.A1196@walton.maths.tcd.ie>
In-Reply-To: <Pine.LNX.4.21.0008101658240.1465-100000@pcd75.sasi.com>; from gbnaidu@sasi.com on Thu, Aug 10, 2000 at 05:05:26PM %2B0530
References:  <Pine.LNX.4.21.0008101658240.1465-100000@pcd75.sasi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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