seebharath 0 Light Poster

Hi,
I am using msxml4 for my project with an xml file of about 10mb.
I read this xml file multiple times as it gets modified a lot during the application run. So I am using xmlDoc->release() after reading the xml file and performing the required operation on it . But the Memory allocated to the DOM tree does not get released on xmlDoc->release() and after about 50 to 100 operations entire memory is consumed and application crashes.

So how do i release the memory allocated to the xml (DOM TREE) in the memory with MSXML4.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.