Hi Anurag, Anurag Jain <[EMAIL PROTECTED]> writes:
> NOTE : I notice the memory does get released on Redhat linux on > the dom document release I replaced the infinite loop at the end of your test case with the call to XMLPlatformUtils::Terminate(). I then run your test case compiled with Xerces-C++ 2.8.0 under valgrind. The only memory leak you have is in line 41 in your test case. Taking into account the fact that the memory is released under GNU/Linux and not Solaris, I would agree with Alberto that this is probably how Solaris manages the heap. Boris -- Boris Kolpackov, Code Synthesis Tools Open source XML data binding for C++: http://codesynthesis.com/products/xsd Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde
