MixinNetwork / kraken

🐙 High performance WebRTC SFU implemented with pure Go.
Apache License 2.0
335 stars 49 forks source link

Possibility of memory leak? #12

Closed Leddly closed 4 years ago

Leddly commented 4 years ago

When someone get connected and disconnected to the kraken server, the occupied memory usage seems still consuming the resources.

Is it due to nginx' cache problem or just time-consuming work to flush allocated memory?

cedricfung commented 4 years ago

Haven't detected obvious memory leaks yet. I learnt something https://vec.io/posts/golang-and-memory

Leddly commented 4 years ago

@cedricfung Sorry for late comment, Cedric. I read the info on your comment and I think I have the point. Quite make sense what you explained on your post :D Many thanks!!