I forgot to say that I'm coding in C++ here.

Thanks again,
Jim


-----Original Message-----
From: James Pearson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 29, 2000 11:24 PM
To: Xerces Dev mailing list (E-mail)
Subject: The DOM parser and memory management? (NEWBIE)


Hi,

I'm writing an app that uses the DOM parser in a loop - reading files as
they become available.
That is to say, I reuse the parser over and over after instantiating it only
once. Is that OK?

I've noticed that memory usage climbs as I keep parsing new input files. I
had assumed that
Xerces would auto-magically handle the memory behind the scenes, but now I
wonder if I
have to "delete" the DOM_Document after I'm finished with it and before I
parse a new file.
(Of course my memory leaks could just be my lousy coding... nah.)

Any help greatly appreciated, naturally.

Jim Pearson


Reply via email to