Skip to content

Memory leak on Node 19/20/22 with includeLocalVariables enabled #16041

Open
@tellisnz

Description

@tellisnz

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/node

SDK Version

9.1.0

Framework Version

9.1.0

Link to Sentry event

No response

Reproduction Example/SDK Setup

See #14162

Our instance of issue is summarised in this comment

Ours is a reasonably high traffic express/node.js app, and with includeLocalVariables native memory usage increases until OOM.

Steps to Reproduce

See #14162

Expected Result

No native memory leak when using includeLocalVariables

Actual Result

Native memory leak is present when using includeLocalVariables

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: nodeIssues related to the Sentry Node SDK

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions