Increase Private Memory Size on OpenSIPS
6:59 am in Linux, OpenSIPS by admin
By default the size of private memory chunk used by each OpenSIPS process is 1 MB.
To increase the size of private memory you need to compile OpenSIPS from sources. Once you get the sources from SVN or the opensips.org’s download site, do the following steps:
- edit the file “config.h” and search for the next lines:
/*used only if PKG_MALLOC is defined*/
#define PKG_MEM_POOL_SIZE 1024*1024
- change the value of PKG_MEM_POOL_SIZE to desired size, for example to have 4MB of private memory:
#define PKG_MEM_POOL_SIZE 4*1024*1024
- recompile and reinstall OpenSIPS
make all; make install;





opensips has own memory manager.Sometimes it gives error “out of memory”.To avoid this memory lack error It is better to increase private memory of opensips from config.h.
Hey……
I have recently started a website, the information you provide on this web site has helped me tremendously. Thank you for all of your time & work. “It is no use saying, ‘We are doing our best.’ You have got to succeed in doing what is necessary.” b…
It’s not a surprise…
That your article overdelivered again…