You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by ax...@ws.apache.org on 2004/08/16 12:59:20 UTC

[jira] Closed: (AXISCPP-61) STL map memory leaks - patch

Message:

   The following issue has been closed.

   Resolver: Samisa Abeysinghe
       Date: Mon, 16 Aug 2004 3:59 AM

Patch was applied to 1.1 release.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-61

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-61
    Summary:  STL map memory leaks - patch
       Type: Bug

     Status: Closed
   Priority: Critical
 Resolution: FIXED

    Project: Axis-C++
 Components: 
             Performance
   Fix Fors:
             1.1 Final
   Versions:
             1.1 Final

   Assignee: 
   Reporter: Sevwandi Abeysinghe

    Created: Mon, 26 Apr 2004 1:59 AM
    Updated: Mon, 16 Aug 2004 3:59 AM
Environment: All platforms

Description:
The use of STL map seems to cause memeory leaks (it leaves 
'reachable memory' behind after client terminates)

It is quite possible to do without the STL map in some cases. This is been done  for SoapKeywordMapping. (see patch in attached file)

In cases it is difficult to replace maps with arrays (as an exampel when key is a string) may have to look for alternatives.
	
Is it possible to replace STL map with our own map? (To do this without templates, may have to stick to string keys)
	
Some memory leaks fixed are fixed in SoapKeywordMapping code. Need to 
call SoapKeywordMapping::uninitialize () from Axis.cpp uninitialize_module() to make this effective.





---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira