Memory Problem
I am running into a memory error when I try to use the app with my full array of JSON data. My JSON file is something like 100K lines of video data (id, name, thumb url, etc. ). Anyone know a way to work with that?
Solution:Jump to solution
you are running into the 512mb memory limit of the trial plan, it is a trial after all. upgrade to the dev plan for access to 8gb of memory and them redeploy your app
14 Replies
Project ID:
05be229b-b790-4543-a729-4506f37e9250
05be229b-b790-4543-a729-4506f37e9250
can you show me a screenshot of the memory metrics for the service you are having issues with
and can you show me this memory error?
I don't know if this would cause the issue but regardless you shouldn't be using nodemon on railway, change the start script to just
node app.js
and let me know how that goesokay making the changes in the repo now...
Its back up and running, still says active but I am getting a BAD_RESPONSE error on my test site. The logs show KILLED at the end and the memory metric is maxed out at 512. Screenshot to follow.
Solution
you are running into the 512mb memory limit of the trial plan, it is a trial after all. upgrade to the dev plan for access to 8gb of memory and them redeploy your app
Yah it seems to work when I use a low number of JSON objects. Total there are over 17000 objects, but when I limit the result to 1000 or less it seems to work.
yep upgrading to the dev plan will solve your issues
ππ»