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.
Hello,
I've recently upgraded my Node.js 24 lambda using datadog-lambda-js from
12.137.0to12.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-tracewhich has been upgraded from5.xto6.x.Setting
DD_TRACE_ENABLED = false"fix" the issue but that's obviously not what we want.Regards.