Open leonlarsson opened 9 months ago
If you pass --smol, do the results differ?
If you pass --smol, do the results differ?
I've just redeployed it with --smol
. Will report back.
Early observation: It seems to be acting the same way. Higher than Node's baseline and climbing
Not looking hot
Update: The last deployment (last vertical line) is where I added Bun.gc()
to run on every shard, every 5 minutes. It seemed to have been effective at first, but it also started to climb.
What version of Bun is running?
1.0.26+c75e768a6
What platform is your computer?
Not sure sorry. Hosted on Railway
What steps can reproduce the bug?
I am hosting https://github.com/leonlarsson/Battlebot on Railway using the Dockerfile in the repo.
Below is the observed memory usage: The switch to Bun can be seen in the graph.
What is the expected behavior?
I would expect Bun to be on par with Node. I am new to Docker, so there might be something I am doing wrong. I would love to be wrong.
What do you see instead?
I see both a higher and climbing memory usage. I also host another bigger disord.js bot on Railway that is also seeing the same higher and climbing memory usage:
Additional information
I have read through https://github.com/oven-sh/bun/issues/3065, and it might be of interest.