What version are you using? You might want to grab the 1.1.0/3.1.0 beta
from Apache and try it. It is going to be released very soon, and it will
be the first reference release of the 3.x series. If you still have
problems with that, then we should look into it. But this version has been
beaten on harder than any we've ever released, I would imagine that it
should not give you problems.

----------------------------------------
Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley
[EMAIL PROTECTED]



"James Pearson" <[EMAIL PROTECTED]> on 02/29/2000 08:36:35 PM

Please respond to [EMAIL PROTECTED]

To:   <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
cc:
Subject:  RE: The DOM parser and memory management? (NEWBIE)



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