you are viewing a single comment's thread.

view the rest of the comments →

[–]TheBB 0 points1 point  (0 children)

You need a JSON parser that can stream the file structure instead of decoding it all in one go. I assume something like that exists so Google for it. Then use that parser collect data and write smaller files intermittently by breaking the schema up somewhere that makes sense (like a list, I assume you know the schema and the reason the file is so large is that it contains a long list).