Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2006 09:29:03 +0100
From:      Erik Norgaard <norgaard@locolomo.org>
To:        Robert Leftwich <freebsd@rtl.fmailbox.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Memory leak?
Message-ID:  <43F0434F.2000703@locolomo.org>
In-Reply-To: <1139792505.30118.254198744@webmail.messagingengine.com>
References:  <1139792505.30118.254198744@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Leftwich wrote:
> After running some number crunching for the last twelve hours I noticed
> my box starting to use swap. Given that it has 4gb in it (of which 3gb
> is available, see my other email for that issue) and I know that the app
> never uses more than around 1gb I was surprised. Looking at the numbers
> from top I was even more surprised, there seems to be a significant
> chunk of memory unaccounted for (from memory when I checked after a
> couple of hours the inactive memory was around 1300M with Free in the
> 400M range, everything basically totalling to around the 3gb mark as
> expected). The app is driven by a script and is only running for around
> 1/2 hr per dataset after which it shuts down and restarts on a new
> dataset, so all memory should be freed up/made inactive after each
> restart, no? 
> 
> Mem: 274M Active, 227M Inact, 263M Wired, 95M Cache, 214M Buf, 4536K
> Free
> Swap: 4068M Total, 707M Used, 3361M Free, 17% Inuse
> 
> real memory  = 3221159936 (3071 MB)
> avail memory = 3106529280 (2962 MB)
> 
> What's the best way to track down more information as to the cause of
> this problem?

Do you run other applications also?

There was a discussion on CURRENT@ some weeks ago about a memory leak 
that turned out to be firefox with some extensions, updates are 
available now.

Cheers, Erik



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