I do not have any memory tools. It's just the task manager in Windows that I'm using. I checked the usage values at the breakpoints (set before and after the function calls).
-----Original Message----- From: David Bertoni [mailto:[email protected]] Sent: Friday, July 10, 2009 11:51 AM To: [email protected] Subject: Re: Xerces 2.8 Terminate() Swatilekha Doloi wrote: > Hi, > > I'm using Xerces C 2.8 > > I have a simple program where I'm calling > XMLPlatformUtils::Initialize(); > > followed by > > XMLPlatformUtils::Terminate(); > > I'm not setting any features or properties or doing any processing > between the two function calls. > The Initialize() function allocates 188K of memory. The > Terminate()function fails to release any memory. How are you measuring this? Many C run-time heap implementations will not actually free memory to the operating system until the process ends. Dave
