Skip to content

Increase in memory usage #839

Description

@clement-s-bridge

Hello,

I've recently upgraded my Node.js 24 lambda using datadog-lambda-js from 12.137.0 to 12.143.0.

That upgrade caused a big increase in memory usage. Before the lambda was running fine with 256 MB now I have out of memory crash even with 320 MB.

It seems to be caused by some huge traces with hundreds of spans.

I guess the issue might come from dd-trace which has been upgraded from 5.x to 6.x.

Setting DD_TRACE_ENABLED = false "fix" the issue but that's obviously not what we want.

Regards.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions