Hi,
I am trying to parse a reasonably large XML file (around 200MB). My
application takes up around 2GB of memory when it runs. When I do a stress
test by keeping only around 1 GB to 1.5 GB free (with a simple C program
that will suck up memory), DOMNode::getNextSibling() seems to behave
inconsistently. The loop construct is similar to the one below:
for ( ; theParent != NULL; theParent=theParent->getNextSibling(),
counter++) //theParent is DOMNode* & initialized properly
{
}
For the same XML input file, this loop iterates different number of times.
This happens only when there is less memory available. When I run this
with more 4GB of free memory, the iteration count remains same.
Below are the details of my environment;
32 bit prebuilt Xerces 2.1
Solaris 2.8
I compile my application with Forte 6 Update 2
I do not expect a fix for this problem as the library I am using seems to
be old. All I want to know is if this a known bug in xerces 2.1. Has
anyone had this problem already and which version has the fix for this
problem?
With Regards,
Satheesh.
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you