You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by kb...@informatica.com on 2000/07/12 03:36:48 UTC

Memory leaks in the parser

After I finish parsing from a MFC application, I get a memory dump.
I am calling XMLPlatformsUtil::Terminate(). Is this a known problem??

Kiran

C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) :
{14217} normal block at 0x01D23F00, 86 bytes long.
 Data: <h t t p : / / a > 68 00 74 00 74 00 70 00 3A 00 2F 00 2F 00 61 00 
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) :
{14216} normal block at 0x01D23F90, 20 bytes long.
 Data: <         @      > B0 E0 06 12 00 00 00 00 00 40 00 00 00 00 00 12 
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) :
{14215} normal block at 0x01D23FD0, 24 bytes long.
 Data: <                > 00 C4 15 00 FF FF FF FF 00 00 00 00 00 00 00 00 
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) :
{14214} normal block at 0x01D24AC0, 4 bytes long.
 Data: < ?  > D0 3F D2 01 
{91} normal block at 0x01C92240, 348 bytes long.
 Data: <                > 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 
{90} normal block at 0x01C923D0, 152 bytes long.
 Data: <                > 00 00 00 00 01 00 00 00 00 00 00 00 0A 00 00 00 
{89} normal block at 0x01C924A0, 152 bytes long.
 Data: <                > 00 00 00 00 01 00 00 00 00 00 00 00 0A 00 00 00 
{88} normal block at 0x01C92570, 348 bytes long.
 Data: <                > 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00

Re: Memory leaks in the parser

Posted by Andy Heninger <an...@jtcsv.com>.
There are not any known memory leaks of this type.

Some of the third-party add on tools for MSVC make it much easier
to track down these kinds of problems.  I have been using
NuMega BoundsChecker.

Andy Heninger
IBM XML Technology Group, Cupertino, CA
heninger@us.ibm.com



----- Original Message ----- 
From: <kb...@informatica.com>
To: <xe...@xml.apache.org>
Sent: Tuesday, July 11, 2000 6:36 PM
Subject: Memory leaks in the parser


> After I finish parsing from a MFC application, I get a memory dump.
> I am calling XMLPlatformsUtil::Terminate(). Is this a known problem??
> 
> Kiran
> 



Re: Memory leaks in the parser

Posted by Dean Roddey <dr...@charmedquark.com>.
Are you past any blocks where a parser or DOM node might still exist when
you call the dump?

--------------------------
Dean Roddey
The CIDLib C++ Frameworks
Charmed Quark Software
droddey@charmedquark.com
http://www.charmedquark.com

"You young, and you gotcha health. Whatchoo wanna job fer?"


----- Original Message -----
From: <kb...@informatica.com>
To: <xe...@xml.apache.org>
Sent: Tuesday, July 11, 2000 6:36 PM
Subject: Memory leaks in the parser


> After I finish parsing from a MFC application, I get a memory dump.
> I am calling XMLPlatformsUtil::Terminate(). Is this a known problem??
>
> Kiran
>
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) :
> {14217} normal block at 0x01D23F00, 86 bytes long.
>  Data: <h t t p : / / a > 68 00 74 00 74 00 70 00 3A 00 2F 00 2F 00 61 00
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) :
> {14216} normal block at 0x01D23F90, 20 bytes long.
>  Data: <         @      > B0 E0 06 12 00 00 00 00 00 40 00 00 00 00 00 12
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) :
> {14215} normal block at 0x01D23FD0, 24 bytes long.
>  Data: <                > 00 C4 15 00 FF FF FF FF 00 00 00 00 00 00 00 00
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) :
> {14214} normal block at 0x01D24AC0, 4 bytes long.
>  Data: < ?  > D0 3F D2 01
> {91} normal block at 0x01C92240, 348 bytes long.
>  Data: <                > 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
> {90} normal block at 0x01C923D0, 152 bytes long.
>  Data: <                > 00 00 00 00 01 00 00 00 00 00 00 00 0A 00 00 00
> {89} normal block at 0x01C924A0, 152 bytes long.
>  Data: <                > 00 00 00 00 01 00 00 00 00 00 00 00 0A 00 00 00
> {88} normal block at 0x01C92570, 348 bytes long.
>  Data: <                > 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>