On Wed, Feb 3, 2010 at 2:26 PM, Derek Gaston <[email protected]> wrote: > Yo. > > So... I'm trying to turn off reference counting with > --disable-reference-counting... but I'm still getting "Memory Leak Detected!" > errors at the end of my run. > > Besides the obvious "Fix the memory leak!"... is there something else I need > to do to make this message go away? I really don't understand how it can be > getting to this point if I've disabled reference counting. > > Any quick ideas before I really start digging into this?
Looks like even if LIBMESH_ENABLE_REFERENCE_COUNTING is not defined, it still keeps a rough count of all reference-counted objects created... Check out the constructors in reference_counter.h. The easiest 'fix' is to just comment out the offending message from libmesh.C -- John ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Libmesh-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-devel
