fent / node-miniget

A small http(s) GET library.
MIT License
53 stars 17 forks source link

Did miniget really handle well with memory management? #69

Closed Yonle closed 1 year ago

Yonle commented 1 year ago

For some reasons, Using miniget for a lot of times somewhat gives several garbages to memory, which is not something usual.

Not also forget when using destroy function

I am thinking with this code: https://github.com/fent/node-miniget/blob/master/src/index.ts#L306-L320

Related: https://github.com/fent/node-ytdl-core/issues/1180