Cut down memory use in stream testing