Answer the question
In order to leave comments, you need to log in
Node js on ubuntu calls killed, how to prevent it?
The problem is that I store JSON in a text file, weighing more than 50-100mb. I open it with fs and put it in a variable as a hash table. On the server, the node parses the data and uploads it to the same file. If the file size is more than 100MB, the process is killed when I open this text file and put data into the variable, apparently due to lack of RAM. How to solve this problem, use the database?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question