Abhinav Kishore Srivastava wrote:
Hi,

There is a memory leak in the parse function of XercesDOMParser. Please find below the details:

OS used: Solaris 10
Xerces version: 2.8.0
Software used: Rogue wave libraries for string functions.

*_Code Snippet which leaks:_*

...

*m_domParser->parse(*membuf); //memory utilization increases here and later on when delete m_domParser is called, it is not released.*
Are you sure that Xerces-C is leaking? It's common for the C run-time heap implementation to keep memory that you've freed cached for future allocations.

What happens when you run this code in a loop for a thousand interations or so? Does memory usage keep increasing, or does it remain stable?

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to