grpc / grpc/grpc-node

A potential memory leak in ChannelzTrace

Open
#2,964 1 comment 1 reaction 0 assignees View on GitHub
package: @grpc/grpc-js
Dominant language
TypeScript
Stars
4.8k
Forks
716
Avg merge
2d 3h
Merged PRs (30d)
10

Description

This is more a question rather than a bug report.

I see it in my NodeJS server, after an active session, there are quite a few `Date` object retained in the heap. The retainer refers me to the ChannelzTrace.events.
Reading the code, it looks like the events array is never cleaned up.

Does it make sense to remove the event once it's logged?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.