First upgrade to latest kamailio 4.2.x, you are running 4.2.0 and there were many fixes
since then. All versions that start with 4.2 (e.g., 4.2.0 or 4.2.4) use the same
configuration and database structure, so you just install new binaries and restart
kamailio, there is nothing else to do, it will work with existing config and database.
It seems you already have 8MB of private memory and if you don't load a lot of
records, should be enough. You can set it to 12MB (via -M) if you like, but the important
thing is to monitor the evolution of used private memory. You can do that from command
line with:
```
kamcmd pkg.stats
```
See if the used pkg memory per process increases continuously over time, then it is a leak
somewhere.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/156#issuecomment-101210261