This prompts a question that isn't really related to the problem, but I have wondered for some time:
What are the downsides of removing PKG_MALLOC and using the libc allocator? It seems like it would provide unlimited package memory and remove the need to manage it, but I assume there is a reason why this is not done by default.
-- Alex
On Jan 5, 2023, at 3:11 AM, Henning Westerholt hw@gilawa.com wrote:
Hi Juha,
there have been some changes related to that modules indeed for the latest release.
Using memory debugging (http://www.kamailio.org/wiki/tutorials/troubleshooting/memory), in particular the statistics and/or memory dump will probably show the place where its allocated. Then we could probably fix it where its needs to be freed as well.
Cheers,
Henning
-- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://gilawa.com
-----Original Message----- From: Juha Heinanen jh@tutpro.com Sent: Thursday, January 5, 2023 12:13 AM To: sr-users@lists.kamailio.org Subject: [SR-Users] pkg memory leak when acc module cdr_enabled
In latest stable K release, we noticed pkg memory leak (pgk memory usage increases by each processed call). It turned out that the leak goes away if acc module cdr_enable is not enabled.
Could be a bug in dialog or acc module. Any debug instructions if the bug is not obvious?
-- Juha __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: