Subject Re: JayBird and large attachment
Author Roman Rokytskyy
Hi,

> After debugging the thing, it appears that the memory is consumed
> during the query (statement.executeQuery(sql)), so before we get the
> stream (resultSet.getBinaryStream(1)).

You should disable auto-commit. In auto-commit mode JayBird caches
everything in memeory.

Roman