axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Davies (JIRA)" <>
Subject [jira] Commented: (AXISCPP-674) Memory leak
Date Tue, 30 Aug 2005 11:34:07 GMT
    [ ] 

Jonathan Davies commented on AXISCPP-674:

Running the debug version of the Calculator sample on Win2000, the modification in ChannelFactory::UnLoadChannelLibrary
to use:

delete m_pChannel[iLibIndex];

causes the delete operator to call free( ) which then tries to use the _crtheap set to a different
value to that when the memory was allocated. Building a MAP file for HTTPChannel_D.dll shows
it has a _crtheap variable and uses heapcreate.

Reseting the value of _crtheap in the debugger to that when the allocation was performed removes
the problem.

> Memory leak
> -----------
>          Key: AXISCPP-674
>          URL:
>      Project: Axis-C++
>         Type: Bug
>     Versions: 1.5 Final
>  Environment: Win2000
>     Reporter: Mark Kolb
>     Assignee: Samisa Abeysinghe
>     Priority: Critical

> When running a simple client test in a loop both the client and server memory continue
to climb and never come back down.  I used the calculator example and modified it with a loop
around the add.  I noticed the memory climbing very quickly in the client using performance
viewer for that process.  Also, the server process which is listed as Apache#1 also has a
memory leak.  It is using the Calculator.dll that is part of the Axis package.   This occurred
for both HTTP and HTTPS protocols.   I did this test with the 1.5 Final release.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message