-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hi!
I have a memory leak. According to the heap dump, the issue seems to be related to tracing, as a large number of listeners remain allocated. The case is not trivial, since load testing did not reveal any problems.
While reviewing your the code, I noticed res.on('finish', () => {}). As far as I understand, this handler is not triggered when the connection is terminated. Could it be that in case of a connection drop, the listeners are not properly cleaned up and therefore remain in memory?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working