You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by "Kelty, Joe W." <JK...@naic.org> on 2005/03/09 17:30:39 UTC

memory leaks

Is anybody aware of memory leaks when using DocumentBuilder.parse() 
method to parse xmls given a http URL as the input stream?

thanks, Joe.


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: memory leaks

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Hello Joe,

I'm not aware of one, but I can tell you as part of the cleanup at the end 
of a parse (even if an exception was thrown) the parser will attempt to 
close any remaining streams that are open.

Hope that helps.

"Kelty, Joe W." <JK...@naic.org> wrote on 03/09/2005 11:30:39 AM:

> Is anybody aware of memory leaks when using DocumentBuilder.parse() 
> method to parse xmls given a http URL as the input stream?
> 
> thanks, Joe.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
>

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org