It's rather impossible that $var(...) is leaking, but be aware that its value persists across executions of route blocks, the value is reset only by a new assign.
Then $avp() is using shared memory, so not related to pkg.stats output.
I looked at the code for route_if_exists
and I discovered that was executing the route block as a top route, not as a sub-route (what route(x) does). I pushed a patch for it. Maybe that was the cause of leak, eventually inside the statsd operation, because route_if_exists doesn't allocate anything itself.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.