Skip to content

A potential memory leak in ChannelzTrace #2964

@sasaxing

Description

@sasaxing

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions