Open kwaitsing opened 2 weeks ago
Tried using the debugger and here's what i found
This array grow over times and becomes huge
Fixed by rewritten in golang
Update for anyone why may wanna try it'
Check that link above, after I rewritten the system information with Bun fashion still the mem usage climb, but much slower
However the strange thing is that, this time I can't find any sign of a memory leak in the inspector timeline, the size of each snapshot is completely normal but in reality, I mean the top or htop, it goes insane on my server and crashed it
What version of Bun is running?
1.1.31+e448c4cc3
What platform is your computer?
x64
What steps can reproduce the bug?
Setup https://github.com/kwaitsing/Artemis and wait for a few mins
It only happens on client side
What is the expected behavior?
My prog takes far less memory than 409MB
What do you see instead?
Additional information
code that might be the cause
I think this should be related to systeminformation on npm, maybe bunch of open files caused that?, and i'm using a bundle executable
Thank you guys for developing bun, it would be nice if we could find the cause to this problem together