#my bot is taking a lot of MB
26 messages · Page 1 of 1 (latest)
• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.
how are you measuring that?
I'm doing pm2 dashboard and there's some info about the process I'm running
this
is that the sharder?
if yes, then it probably just displays only what the sharder itself uses
since for me it lists 44 mb
I think it's the whole bot
but summing up what shard processes claim goes to 77
how do you know
because I don't have any shards on the screen
that... doesn't really change what i said and what you said in the original message
that when you shard it says less
ahh you mean when I add shards it shows me what the shard is taking as mb?
the sharding manager just spawns child processes
it's very likely that pm2 doesn't count those towards the main process that spawned them
maybe showing the sharding code would be useful?
ah
since it's not even your code that measures / displays anything, isn't it
yes