NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: debugging a memory leak



On Sat, May 21, 2016 at 08:36:10AM +0200, tlaronde%polynum.com@localhost wrote:
> On Fri, May 20, 2016 at 11:43:11PM +0200, Manuel Bouyer wrote:
> > On Fri, May 20, 2016 at 02:20:39PM -0600, Swift Griggs wrote:
> > > On Fri, 20 May 2016, Manuel Bouyer wrote:
> > > > what tools do we have on NetBSD to find a memory leak in a userland 
> > > > program (actually OpenCPN - which is a large C++ program with dynamic 
> > > > libraries and uses dlopen()) ?
> > > 
> 
> I have used boehm-gc in the past on NetBSD. It is a garbage collector
> and allows to spot memory leaks too. It's in pkgsrc.

thanks for the pointer. But if I understood it properly, the sources
needs to be modified ? I fear that in my case this is not an option:
opencpn is quite large and uses wxwidgets and glib, the memory may
be allocated from here too ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index