I have a 2GB json file that times out after about 1000 records #104
Unanswered
timcollins90
asked this question in
Q&A
Replies: 1 comment
-
It seems your memory leak is somewhere else. Try to only run the foreach loop without any code of yours in it. The other reason might be that one item in the JSON is just too big to fit into memory. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm parsing a 2GB json file into my website. The server is Ubuntu 22.04 with 4GB of Memory. Shouldn't this server be able to parse through a 2GB json file without any problems? I keep getting timed out after about 1000 records have been parsed.
Beta Was this translation helpful? Give feedback.
All reactions