First read input data in memory until a specified threshold is
reached, and only then commit it to disk and parse it...