Tracer Version(s)
4.0.0, 3.17.1, 3.19.0
Python Version(s)
3.13.9
Pip Version(s)
N/A
Bug Report
We have identified an issue when using ddtrace that caused our containers to instantly die without logs or stack trace because of an OOM, the issue is not so easy to reproduce but every time it happens is during a langgraph graph execution, we have tried with different providers (OpenAI, Anthropic, GoogleAI) and the error happens with all of them.
Our application uses Fast API, and we recently upgraded to:
langchain==1.1.0
langgraph==1.0.4
Disabling ddtrace fixes the issue on our system.
Reference bugs that share a similar cause:
Reproduction Code
N/A
Error Logs
No error logs the containers die immediately.
Libraries in Use
datadog==0.51.0
ddtrace==4.0.0 # 3.17.1 or 3.19.0
langchain==1.1.0
langgraph==1.0.4
Operating System
Linux X86_64