Subject: Chasing down memory leaks in NetBSD or apps
To: None <netbsd-users@netbsd.org, tech-kern@netbsd.org>
From: Michael Kell Jensen <mkj@micrun.net>
List: netbsd-users
Date: 10/07/2007 00:26:33
Hi


I have i suspicion of memory leaks in NetBSD,
or the applications.

As far as i can see, i have to enable some kernel
debugging abilities in my kernel config.

Any advice on how to track the memory leaks down,
and what tools to use will be appreciated.


My suspicion arose because of the meory counter in top going down.
completely, when i do not do anything actively.

Right know i got about 75MB free, sometimes i got as little as
a few hundreds or thousands KB free.

I AM running a lot of applications though, but
earlier i had about 700 MB free, and when i got back
i only got a few megabytes left.

(T23 ibm, laptop with 1G ram)
(NetBSD 3.1, i386)


Regards
Michael.cognacc