add logic to save memory when streaming
over 200 results back. should fix oom when
streaming back hundreds of thousands of results.