Thanks for testing so extensively!
My (limited) understanding is that the call to srjson_DeleteItemFromObject() -
by virtue of its internal call to srjson_Delete() - takes care of freeing the
entire "cells" structure.
I will do some testing here to be sure there is no leak but in the meantime,
can you confirm whether you see the memory increase linearly in line with the
number of times you launch a new Kamailio instance? For example, if you
increase from 100 to 200 times, does the memory usage then settle at 2.7%?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1863#issuecomment-466468137
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev