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

Opencensus-core memory leak

Open danwbyrne opened this issue 5 years ago • 1 comments

Please answer these questions before submitting a bug report.

Opencensus Version

v0.0.16

Node Version

v11.13.0

What did you do?

Here is a minimal repo which outlines the issue: https://github.com/danwbyrne/opencensus-leak

What did you expect to see?

All tests pass without triggering the memory leak warning.

What did you see instead?

tests trigger the memory leak warning.

Additional context

We recently switched from custom monitoring with opentracing to use opencensus at https://github.com/neo-one-suite/neo-one going forward, however this memory issue is coming up in CI / locally causing our ~2000 test suite to OOM. Any help would be appreciated :)

danwbyrne avatar Aug 20 '19 20:08 danwbyrne

@danwbyrne Thanks for reporting this! Your PR would be much welcome :)

mayurkale22 avatar Aug 23 '19 17:08 mayurkale22