I am trying to run a discord bot that doesn’t have too many features but it keep sending me this error message. I tried using node
--max-old-space-size=4096 index.js but my computer keeps slowing down every time I run it, and my replit code editor website fails to run the code, and prints out
Killed when I used
node --max-old-space-size=8192 index.js. The part that encounters the error is trying to create 3 discord channels in a category. I am not sure if that in it of itself is causing the issue, or if by that point my program has already been struggling.
Any idea on how to fix this?
The error message: