Hi Bisla,

k b <[EMAIL PROTECTED]> writes:

> do i need to call terminate each time which i think isn't correct .

Normally you would call Initialize and Terminate only once.


> 1) do i need to call delete on doc and serializer

No, your should call release() instead.


> 2) what else can i do or i'm not doing that would reduce the mem usage.

Your application uses a number of custom components (e.g., XercesString)
that you don't show so there is no way to tell of those are leaking any
memory. But there is an easy way to find out without asking us to read
through your code:  run your program under valgrind.


Boris

-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding

Reply via email to