DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6367>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6367

memory leak parsing xml document

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         OS/Version|Windows NT/2K               |Solaris
           Platform|PC                          |Sun
         Resolution|WORKSFORME                  |



------- Additional Comments From [EMAIL PROTECTED]  2002-02-20 15:49 -------
I have a similar problem with the DOMParser. I'm working with Solaris 2.8 and
compile with gcc. During debuging I saw that I have on the same line like Lorna
a increasing on the heap.

XMLPlatformUtils::Initialize();
MemBufInputSource input(
    reinterpret_cast<const XMLByte*>(_plainText.c_str()),
    strlen(_plainText.c_str()),bufferId.c_str(),false);

DOMParser parser;
parser.setValidationScheme(DOMParser::Val_Never);
->>>>parser.parse(input);

Strange for me is that the object is created on the stack, but the heap is
increasing. If I leafe the scope the parser object gets destroyed but the heap
is not decreasing. I tried out the function resetDocument and also the transcode
is some different variants, but the leak is still there. 


Thanks
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to