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:
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
Jump to solution
14 Replies
Percy
Percyβ€’2y ago
Project ID: 05be229b-b790-4543-a729-4506f37e9250
β„­π”₯π”žπ”žπ”§π”¬π”±π”’π”΅
05be229b-b790-4543-a729-4506f37e9250
Brody
Brodyβ€’2y ago
can you show me a screenshot of the memory metrics for the service you are having issues with
Brody
Brodyβ€’2y ago
and can you show me this memory error?
Brody
Brodyβ€’2y ago
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 goes
β„­π”₯π”žπ”žπ”§π”¬π”±π”’π”΅
okay 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
Brody
Brodyβ€’2y ago
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.
Brody
Brodyβ€’2y ago
yep upgrading to the dev plan will solve your issues
Want results from more Discord servers?
Add your server