Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2007 21:37:57 +0100
From:      Roger Olofsson <raggen@passagen.se>
To:        Don O'Neil <lists@lizardhill.com>
Cc:        'FreeBSD Questions' <freebsd-questions@freebsd.org>
Subject:   Re: Tracking down memory leaks
Message-ID:  <460197A5.6050700@passagen.se>
In-Reply-To: <000101c76bf5$e8b39030$0700020a@mickey>
References:  <000101c76bf5$e8b39030$0700020a@mickey>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hello Don,

I got the following tips when I asked the same question a while back:

"Consider something like the valgrind port or dlmalloc.

---Chuck "

I ran them and gdb and I'm still hunting that memory leak. In my case I 
first suspected threads (software) to be the cause however as the chase 
has gone further it's narrowing down to the playing of ogg files.

I might be biased though. In my opinion memory leaks are always caused 
by software.

Good luck!



Don O'Neil skrev:
> My setup seems to have a memory leak of some kind and I'm not sure how to
> track it down....
> 
> When I first start up the system and all the processes start the machine has
>> 1GB in free memory... After running for 20-30 minutes the free memory drops
> to somewhere around 20MB... The longer it runs, the more it chews up free
> memory until it eventually kernel panics and then reboots and the process
> starts all over again.
> 
> I originally thought the reboot was from bad RAM, so I swapped it out, but
> that didn't help. I ran a memory check and everything checks out ok.
> 
> Any ideas where to look (Hardware? Bad CPU? Software?). Temperature is ok,
> lots of fans in the box and round cables so there is good air flow. I'm
> stumpted.
> 
> Thanks!
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 
> 



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?460197A5.6050700>