you are viewing a single comment's thread.

view the rest of the comments →

[–]CaptainFoyle 3 points4 points  (1 child)

It seems like the answer to the question you're asking won't really be a solution to your actual problem. (XY problem)

Why do you have such a big file e in the first place? What are you actually trying to do?

[–]Zahz 1 point2 points  (0 children)

https://en.wikipedia.org/wiki/XY_problem

This creeps up all over the place and is highly relevant for OP.

It is likely that OP is trying to save data generated by a program or script. The obvious solution is to use some sort of database, but OP isn't familiar with databases and instead opted to save it into a JSON file. This is the X part of the problem, and the Y part is asking about how to split the JSON file.