This is all happening in memory - how big could the input be here?

@adriancole: risk of OOMs here? I guess no bigger than it was before, though...