Open zrSadek opened 3 months ago
The core is the discord.js library, I didn't change anything about the cache system
How large is big ram usage, node itself takes a fair amount of ram, about 50Mb for just running not adding variables and such on top of that.
around +50mb per hour
i missclicked on the close btn
I have this same issue it really seem to use more and more ram by time and I have no idea what's causing it.
there's multiple reason of why your ram increase:
userUpdate
can eat your ramsetInterval
like setInterval(() => client.guilds.cache.forEach(() => ...))
Options.DefaultSweeperSettings
-> Options.defaultSweeperSettings
oui ca jlai juste repris d'une autre issue qui a ce soucis mais jai quand meme le soucis et jai mm pas de setinterval ou d'event userupdate jcomprends pas
vient sur discord: sl.js
if i use pm2 monit i can see the heap usage growing up
Which package has the bugs?
The core library
Issue description
Hi, i think the sweepers etc dont work bcs i always have a big ram usage on simple code if i let them run for many hours, i tried many thing like makecache options, sweepers etc (the code below is not mine i found it on an other issue)
Code sample
Package version
latest
Node.js version
18*
Operating system
W11
Priority this issue should have
High (immediate attention needed if possible)
Checklist
Additional Information
none