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                                                 
             VIENNE                                                        
             <cdevienne@alphac                                          To 
             ent.com>                  Log4CXX User                        
                                       <log4cxx-user@logging.apache.org>   
             07/27/2004 09:29                                           cc 
             AM                                                            
                                                                   Subject 
                                       Re: Memory Leaks in Log4cxx         
             Please respond to                                             
              "Log4CXX User"                                               
             <log4cxx-user@log                                             
             ging.apache.org>                                              
                                                                           
                                                                           












>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)

Mime
View raw message