Hi Daniel,

thanks for pointing that out. In that case its only the pike top command 
without a lot of data.

But it makes indeed sense to have in similar for this particular use case.

Cheers,

Henning

From: Daniel-Constantin Mierla <[email protected]>
Sent: Mittwoch, 29. März 2023 14:42
To: Kamailio Devel List <[email protected]>
Cc: Subscribed <[email protected]>
Subject: [sr-dev] Re: [kamailio/kamailio] pike: use pkg_malloc/pkg_free instead 
of system malloc (6492a6f)


Probably this has to reverted, several rpc commands use system malloc on 
purpose if they might be returning a lot of data. Otherwise they will fail and 
allocating a lot of pkg at startup just for punctual needs of rpc commands is 
not recommended.

So, do not blindly replace system malloc/free with pkg variants if it is about 
rpc. jsonrpcs also uses system malloc, ctl as well, iirc ...

—
Reply to this email directly, view it on 
GitHub<https://github.com/kamailio/kamailio/commit/6492a6f905075fa73d911c345fe784f2d3c085e5#commitcomment-106580236>,
 or 
unsubscribe<https://github.com/notifications/unsubscribe-auth/ABO7UZOORULLTOKMT2LJIATW6QUZDANCNFSM6AAAAAAWL5L4OQ>.
You are receiving this because you are subscribed to this thread.Message ID: 
<kamailio/kamailio/commit/6492a6f905075fa73d911c345fe784f2d3c085e5/[email protected]<mailto:kamailio/kamailio/commit/6492a6f905075fa73d911c345fe784f2d3c085e5/[email protected]>>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to [email protected]

Reply via email to