On 06/07/2021 06:10, John Walker wrote:
Hi Andy

Rob's right - RDFParser does not close a resource that is passed into the
parser. If given a resource, the caller is responsible - try-with-resources or
similar is expected.

I was reading the javadocs and these state the InputStream will be closed when 
the parser is called

https://jena.apache.org/documentation/javadoc/arq/org/apache/jena/riot/RDFParser.html#source(java.io.InputStream)

John


So it does. Although here there is a new createHttpClient each time so there isn't a pool running out.

The OP says the code gets passed the HttpOp.execHttpGet call so the connection has been established.

John - what's the requestURL? The logs say the request is 3072 bytes (including headers) which is possible but unusually large.

It is the unpredictability that is odd.

Could you please breakpoint the process and see what code it is in?

        Andy

Reply via email to