moleculer
moleculer copied to clipboard
Memory leak with datadog
Prerequisites
Please answer the following questions for yourself before submitting an issue.
- [ ] I am running the latest version
- [x] I checked the documentation and found no answer
- [x] I checked to make sure that this issue has not already been filed
- [x] I'm reporting the issue to the correct repository
Current Behavior
Memory leak when datadog tracing is enabled. Datadog spans are not getting freed up.
Expected Behavior
Memory allocated by datadog spans should get released to GC
- Moleculer version: 0.14.6
- NodeJS version: 10
- Operating System: alpine-linux
- DD-trace version: 0.26.0
Heapdumps with and without tracing enabled
Hey @icebob please help me out with this problem. Its been over 3 months and I'm unable to figure out the exact issue. I'm suspecting that datadog spans are not getting deleted.
Ok, I will check.
Hi... is there any updates on this ... zip line tracer is also facing the same issue
Could you reproduce it with latest version of Moleculer & dd-trace?
Hey @icebob still facing memory leak with latest version of moleculer and ddtracejs.

Thanks. And could you make a small repro example that I can investigate it?