Use less memory on query result handling and treat "-1" as "as much as y...

...ou can."