On 27 Aug 2012, at 17:17, Rob Vesse <[email protected]> wrote:

> On 8/26/12 11:18 AM, "Andy Seaborne" <[email protected]> wrote:

>> And on a related note, I wonder if execSelect or even deeper in
>> HttpQuery.exec should read the entire response, and not try to do
>> end-to-end streaming.  That way, a slow/bad application can't affect the
>> remote server by holding connections open for too long.  Obvious down
>> side is that things are resource limited
> 
> I would disagree, while this is a useful idea in principal and in some use
> cases it quickly falls down as soon as you have moderately large results
> with a OOM exception.

Would it be possible to use a buffer? For small-ish result sets you would get 
the behaviour Andy suggests, but avoid the OOM issue.

Damian

Reply via email to