You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using SSH2 1.15.0 and Node.JS v22.8.0. I have an SSH server that forwards HTTP connections through SSH and after running it for some time its memory usage keeps growing, specifically external and arrayBuffers. Comparing two heap snapshots shows that there is ~70MB worth of array buffers that don't get freed:
Most of them are 32784, 32768 and 16384 bytes:
The 32784-sized buffers are retained by _readableState of a Channel:
Other buffers are retained by a HTTPParser of a Channel:
Running gc does not clean up these buffers. All of them also have an unknown distance.
What could be causing this?
The text was updated successfully, but these errors were encountered:
I'm using SSH2 1.15.0 and Node.JS v22.8.0. I have an SSH server that forwards HTTP connections through SSH and after running it for some time its memory usage keeps growing, specifically
external
andarrayBuffers
. Comparing two heap snapshots shows that there is ~70MB worth of array buffers that don't get freed:Most of them are 32784, 32768 and 16384 bytes:
The 32784-sized buffers are retained by
_readableState
of aChannel
:Other buffers are retained by a
HTTPParser
of aChannel
:Running
gc
does not clean up these buffers. All of them also have an unknown distance.What could be causing this?
The text was updated successfully, but these errors were encountered: