<div dir="ltr"><div dir="ltr"><div dir="ltr">Dear,<div><br></div><div>I'm using siptrace within a python handler in the KEMI framework.  KSR.siptrace.sip_trace_dst("sip:<myhomerip>:9060")</div><div><br></div><div>I notice an ever increasing usage of memory, until the system runs out of memory. (definition of a memory leak :) ). Looking at the memory information kamailio is giving me I notice this:</div><div><br></div><div><div>May 14 05:49:48 server kamailio[36452]: NOTICE: PYT {INVITE} {1769595029-1513210001-1955500877} {1} : qm_sums:  count= 79286 size=   5812048 bytes from siptrace: siptrace.c: ki_sip_trace_dst_cid(729)</div></div><div><div>May 14 05:51:17 server kamailio[36452]: NOTICE: PYT {REGISTER} {<a href="mailto:4_1419955802@192.168.0.153">4_1419955802@192.168.0.153</a>} {2582} : qm_sums:  count= 79335 size=   5814840 bytes from siptrace: siptrace.c: ki_sip_trace_dst_cid(729)</div></div><div><br></div><div>I notice this on kamailio 5.1.8 (from a debian repo), and on kamailio 5.2.2 (from source). I can reproduce the problem very easily, and I can apply patches in the source to try out things.</div><div><br></div><div>Could I be wrongly using siptrace? Can I give you more debugging info? </div><div><br></div><div>Kind regards,<br>Davy</div><div><br></div></div></div></div>