-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EventEmitter memory leak #757
Comments
👋 @amsibamsi we've been seeing this issue pop up across several of our Node.js clients, I believe this is a grpc issue (grpc/grpc-node#1027) which may or may not be resolved already. Can you check to see if |
Thanks, this indeed fixed the problem. |
@amsibamsi awesome, thanks for letting us know! |
@callmehiphop wouldn't it be appropriate to upgrade the dependency in |
@ctavan yep, absolutely! We'll need to make that update across the board |
🤖 I have created a release \*beep\* \*boop\* --- ### [3.0.1](https://www.github.com/googleapis/nodejs-bigtable/compare/v3.0.0...v3.0.1) (2020-07-09) ### Bug Fixes * **deps:** update dependency @google-cloud/bigtable to v3 ([googleapis#756](https://www.github.com/googleapis/nodejs-bigtable/issues/756)) ([e5e8189](https://www.github.com/googleapis/nodejs-bigtable/commit/e5e8189b3254a7a1d216f5380b6e88c7cdeb0c5e)) * typeo in nodejs .gitattribute ([googleapis#759](https://www.github.com/googleapis/nodejs-bigtable/issues/759)) ([843d1da](https://www.github.com/googleapis/nodejs-bigtable/commit/843d1daa9bdf30b8a5ab612967fbd8652723612d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please).
Environment details
@google-cloud/pubsub
version: 1.0.0Steps to reproduce
Run the following sample program with GCP project
myproject
and Pub/Sub topicmytopic
set up and observe warnings like:(node:22056) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added. Use emitter.setMaxListeners() to increase limit
Watching this program run for a while it indeed grows to 300 MB resident memory quickly. Is there indeed a memory leak, and if yes, how can it be fixed?
Also tested this with older pubsub versions like 0.30.0, 0.29.0, etc. and newest release of Nodejs 12, same issue. Is this indeed a bug in the library or related to my code?
The text was updated successfully, but these errors were encountered: