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:48:56 GMT
             Christophe de                                                 
             <cdevienne@alphac                                          To 
             ent.com>                  Log4CXX User                        
             07/27/2004 09:29                                           cc 
                                       Re: Memory Leaks in Log4cxx         
             Please respond to                                             
              "Log4CXX User"                                               

>This is for the glibc version of those functions thought. If their win32
>equivalent return dynamically allocated memory, then the code needs to
>be patched to free the memory.

I don't think windows version is different from unix one.
Multihreaded version of the library allocates the memory needed for the
structure once per each thread.

Hemant, try to run attached example. You should get dumps only at the end
of program, not inside the loop.

(See attached file: chkpoint.cpp)

View raw message