I have a nodejs server deployed to heroku. It doesn't have much load except once a day, when it parses quite a big piece of data (~20mb JSON file).
It takes about 20 seconds on macbook pro.
Heroku starts complaining about memory limit Error R14 (Memory quota exceeded)
and eventually terminates the process.
How do i make the script to run under specified memory limit? It's okay if it will take few minutes instead of 20 seconds.
via stkvtflw
No comments:
Post a Comment