Will do. Thank you for helping decipher the problem. - Phil -----Original Message----- From: David Bertoni [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 08, 2006 1:53 PM To: xalan-c-users@xml.apache.org Subject: Re: (TRY 2) RE: NT Xalan memory leak detected in debug version of sample program TransformToXercesDOM; release does not report leak
Schlesinger, Philip wrote: > Hi David. > > I'm afraid this still is an issue - I still get a memory leak when I > uncomment everything from XMLPlatformUtils::Initialize() to > XMLPlatformUtils::Terminate(). Something is getting improperly > destroyed. > I verified that these four allocations are for some of the ICU's global data structures, and the allocations occur when Xerces-C is initializing its transcoding system. There are there possibilities that I can see: 1. There is a bug in the ICU, and u_cleanup is not working correctly. 2. There is a bug in Xerces-C, which is preventing the ICU from cleaning up these allocations. 3. My understanding of u_cleanup() is not correct. Given that these are not really leaks, I don't think you need to worry about them, but feel free to pursue the issue with the ICU or Xerces-C. Dave