Hacker News new | ask | show | jobs
by Jarred 1128 days ago
wow thats rough

i'm sorry

can you file an issue with some code that reproduces it? will take a look

2 comments

It's all easily reproducible. I'll double check my code but its not too complex.

The service subscribes to redis messages, accepts websocket connections, authenticates the connections, then broadcasts messages through the websockets. Maybe around 1200 or so websocket connections per server.

I did upgrade to bun 0.6.1. Haven't seen the segvault on startup yet but still seeing the memory leak. Maybe even slightly faster than before. Will check my code to see if it could be causing the issue.
Can you point us to the code so we can figure out where the memory leak originates from?