fix: memory leak by upgrading readable-stream up to 4.7.0#275
fix: memory leak by upgrading readable-stream up to 4.7.0#275rawmind wants to merge 1 commit intowinstonjs:masterfrom
Conversation
|
Hey @rawmind , thanks for this PR! We definitely need to do this and appreciate your help. The issue I've seen in the past is that upon making this change, and updating |
|
Hey @DABH, please check the PoC winstonjs/winston#2566 |
|
@DABH Hey, tests are fixed in the PoC PR, but I can't run the CI pipeline without approval. Could you help with that? |
|
@rawmind Hey, just approved, but looks like some test failures, any chance you can take a look? Thanks so much! |
|
@DABH It seems like the CI pipeline should consider different versions of @types/node for different node environments. I added a workaround. Could you approve it again? |
|
Thanks! I approved again but looks like some issues with the new node version specification you added (ugh). Thanks for any ideas/fixed there! |
|
@DABH, all the tests are green as I can see. Can we proceed with releasing |
|
@DABH, any updates on this? |
V8 has a memory leak. It's still reproducible on the LST node (v22.17.1).
This bug was addressed in the 4.x version.
Reproducible script:
To simplify debugging is recommended to "disable" another memory leak bug in the core module
The output and heap snapshot below are presented with the patched version
Output:
Heap:

Related tickets: winstonjs/winston#2548 winstonjs/winston#2465