node-libpq icon indicating copy to clipboard operation
node-libpq copied to clipboard

Getting a mem leak on "libpq:connection:emit'

Open bencmbrook opened this issue 5 years ago • 2 comments

Is there any way node-libpq has a memory leak on this event?

https://github.com/brianc/node-libpq/blob/4848a6f91b5ec48e580b4d91156c659746a291e8/src/connection.cc#L804

If this is user error, can you provide any guidance on what type of (mis)usage may result in an ever-growing number of "libpq:connection:emit" asynchronous resources?

bencmbrook avatar Aug 31 '20 03:08 bencmbrook

@bencmbrook does https://github.com/brianc/node-libpq/pull/77/files fix your issue?

ruimarinho avatar Jan 23 '21 17:01 ruimarinho

@ruimarinho can't say, sorry -- we've migrated off. Feel free to close this out since I can't verify the bugfix

bencmbrook avatar Jan 24 '21 02:01 bencmbrook