Open asldevi opened 4 years ago
@asldevi are you still encountering this issue, or were you able to work around it?
@MrMage We've realized that this is not a PDO specific problem, but rather the lib holding spans until the request-response cycle is completed. This is causing memory bloats for requests having large number of spans.
We're working on a solution to export every N spans as they come in, and release the memory, just like other Jaeger clients do. There are few intricacies, though. /cc @ShivamYuvraj
we're observing a memory bloat with PDO's instrumentation
handleStatementExecute
method .If I comment out the following line, which does the instumentation, memory bloat disappears.
Here's a profile info from blackfire for the same.