Subject JayBird and large attachment
Author priand
I'm doing some tests on BLOB handling and saw that JayBird driver is
emitting an OutOfMemory error while querying for a very large
attachment (>500Mo). I was able to write that attachment, but not to
read it. Does the driver maintain some kind of memory cache?
I tried using Interclient and it succeeded.

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)).

Any idea?