Simple - memory-map the whole file with `mmap`. We also suggest using `madvice`, to inform the kernel that you will be accessing the data just once, strictly in the sequential order. And then simply give it to SIMDJSON. With `ondemand` parser, your memory usage will be proportional to the depth of the deepest tree, not their number.
Harder way, would be to parse file in chunks, locating continuous sequences that form a single document.
There may be more options, but I'd have to check the docs :)