realDarkCode / DarkBot

a Discord bot made with discord.js that serves the DarkCode Community Discord Server
MIT License
0 stars 0 forks source link

[BUG]: There Might be a memory leak causing the bot to freeze #15

Closed realDarkCode closed 1 year ago

realDarkCode commented 1 year ago

Lately, I've noticed that the bot isn't responding to the commands while it's showing online. It gets back to normal when I restart the server. I checked the console and there was no error message. however, the bot memory usage keeps rising. It might be a possible explanation that somehow memory is getting keep leaked so it's freezes one point image image

realDarkCode commented 1 year ago

Seems it was an issue with node-cron

Issue: https://github.com/node-cron/node-cron/issues/358