Error ; FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

Good morning, for a few days I have had this error which occurred even though I have never had this error. Could you help me resolve this problem because it actually poses a problem for the operation of my project. Thank you
2 Replies
d.js toolkit
d.js toolkit13mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
!" 𝑱𝒂𝒎𝒆𝒔__
Version discord.js V14.10 and version Node.js : v20.10.0 My Bot is in 1400 Servers I think I have shown all the elements to clarify the error I am encountering. I am waiting for your answer Thanks What concerns me is that when I had the previous version of node js I never had this problem & as soon as I upgraded to v20 this is where the problem started I already tried to do node --max_old_space_size=4096 your_script.js but this still does not work after 15/20 minutes the apps makes the error again & it restarts
Want results from more Discord servers?
Add your server