Click to See Complete Forum and Search --> : Memory leaks


vprabha123
April 23rd, 2003, 09:06 AM
Hi ,

Would anyone be knowing whether

a. Visual C++ 6.0 itself has memory leaks ?

b. MSXML parser 3.0 itself has memory leaks ?

Is there any site which gives details about (a) and (b)

Regards
Prabha

hankdane
April 23rd, 2003, 03:04 PM
Originally posted by vprabha123

Would anyone be knowing whether

a. Visual C++ 6.0 itself has memory leaks ?


No. I suppose what you really want to know is whether programs written with VC6 has memory leaks, but the answer is still no.



b. MSXML parser 3.0 itself has memory leaks ?


I have seen some funky memory behaviour with the XML DOM Parser. It's unclear if there are real memory leaks. You can write a simple program that instantiates an XML document, then immediately frees it. If you do this, you will notice that memory usage goes up. But if you do it repeatedly, say, in a loop, the memory usage does not continue to increase. My guess is that the DOM parser allocates some memory on first invocation that it preserves for future use.


Is there any site which gives details about (a) and (b)



The Microsoft knowledge base is a good first place to look.