logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabijan...@nucorsteel.com
Subject RE: Memory Leaks in Log4cxx
Date Tue, 27 Jul 2004 13:26:05 GMT

I'm trying to figure out how does this memory debugging actually work. I'm
not sure we are using Crt... functions in a proper way.

I get a leak report by running this:

#include <windows.h>
#include <crtdbg.h>

int main(int argc, char* argv[])
    return 0;

I think you have to set checkpoints and check for differences between them.
apparently, with your log4cxx example leaks are really only occuring on
program exit . i'll keep you posted ...

             ty.com>                                                    To 
                                       'Log4CXX User'                      
             07/27/2004 09:12          <log4cxx-user@logging.apache.org>   
             AM                                                         cc 
             Please respond to         RE: Memory Leaks in Log4cxx         
              "Log4CXX User"                                               

Did you examine the following files for memory leaks :-


-----Original Message-----
From: FabijanicA@nucorsteel.com [mailto:FabijanicA@nucorsteel.com]
Sent: Tuesday, July 27, 2004 6:17 PM
To: Log4CXX User
Subject: RE: Memory Leaks in Log4cxx

And here is the actual dump:

(See attached file: memleaks.txt)

View raw message