dawnniie
dawnniie
DIAdiscord.js - Imagine an app
Created by dawnniie on 1/17/2024 in #djs-questions
djs memory usage in bun
hi, I’ve been running our test discord bot on bun to try it out (some websocket issues have been fixed recently) and it runs without issue, which is great! But the memory usage is a lot higher, with this bot in 22 servers using 120mb (as opposed to about 70mb on node), which is weird because I would expect it to use less Of course I asked in the Bun server first, and I was told that v8’s garbage collector is much more aggressive than jsc’s, implying that there is some leaky code in djs. Anyone know or aware of anything about this?
21 replies