xerces-c-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swatilekha Doloi" <d.swatile...@teles.com>
Subject RE: Xerces 2.8 Terminate()
Date Fri, 10 Jul 2009 06:39:07 GMT
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:dbertoni@apache.org] 
Sent: Friday, July 10, 2009 11:51 AM
To: c-users@xerces.apache.org
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

Mime
View raw message