Hello,
the old kamailio (openser) devel guide is very actual at the part with
memory management, so this reading may help:
http://www.asipto.com/pub/kamailio-devel-guide/#c04memory
Cheers,
Daniel
On 10/8/11 4:35 PM, Klaus Darilion wrote:
On 08.10.2011 14:53, Austin Einter wrote:
Hi
Just a quick question. How memory is allocated in Kamailio code.
Few places I saw pkg_malloc function.
Is it the only function used to allocate memory or there are similar
functions present in kamailio.
Basically there are 2 concepts: private memory (per process) and
shared memory (shm, for all processes).
For example tm uses shared memory to store the transcations in memory.
So I suspect there will be similar functions for shared memory
allocation.
regards
Klaus
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla --
http://www.asipto.com
Kamailio Advanced Training, Dec 5-8, Berlin:
http://asipto.com/u/kat
http://linkedin.com/in/miconda --
http://twitter.com/miconda