Massive memory leak #2779
Northernside
started this conversation in
General
Replies: 1 comment
-
I also don't know if I should post it as an issue, because it might be my fault. Should I still open a issue from this discussion? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings,
me and one of my friends are currently working on a project where we collect UUIDs by 1st scanning servers from all public IP ranges and 2nd letting bots (through Mineflayer) join all servers we've collected.
This is my current core: https://paste.northernsi.de/famesedasa.js
However, the code takes more and more RAM as the minutes pass, I already experienced it taking 2 GiB of RAM after roughly 30 minutes.
As you can see in the screenshot, the RAM usage is going up in a rather constant way (after restarting the code, as you can see at the usage drop).
I'm not an experienced JS developer yet, so I'm happy if someone can explain me the (root) cause of this memory leak and maybe how to (basically) fix it ;D
Beta Was this translation helpful? Give feedback.
All reactions