@snen maybe it is not a leak, but a use of large memory .
it is possible of course, so it is not leak but logic issue
This process is sip worker.
1. start kamailio with "m64 -M4" (children=2) 2. check current pkg [pkg_stats_before.txt](https://github.com/kamailio/kamailio/files/787891/pkg_stats_before.txt)
3. run sipp 4. check pkg after allocation errors [pkg_stats_after.txt](https://github.com/kamailio/kamailio/files/787893/pkg_stats_after.txt)
5. summary for pid [pkg_summary_after.txt](https://github.com/kamailio/kamailio/files/787894/pkg_summary_after.txt)