You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2003/06/09 19:27:20 UTC

DO NOT REPLY [Bug 20615] New: - Memory Management

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20615>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20615

Memory Management

           Summary: Memory Management
           Product: Xerces-C++
           Version: 2.3.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Utilities
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: nathanila@hotmail.com


We are currently using Xerces in a server application.  This server is 
compiled to run on several different OSes.  All of these OSes (Windows 2000, 
HPUX, Solaris and AIX) have a scalability bottleneck in their memory 
subsystems.  This is because each one of them employ a critical section in 
there.

The Xerces library makes frequent calls to new/delete and malloc/free.  
Because of this, the Xerces library is now the cause of the bottleneck.

The change we are asking for is not a new memory subsystem or a removal of all 
new/delete and malloc/free.  The change we are asking for is to have all 
memory allocation and free calls go through one pair of functions.  These 
functions would then do a simple malloc or free.

Why is this important?  Because once in place, we can make a quick change to 
the functions to call our own memory management subsystem instead of 
malloc/free.

Why couldn't we do this ourselves?  We can.  The problem is when we upgrade to 
the next version of Xerces, we will have to repeat all of our work again.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org