Module: kamailio
Branch: master
Commit: 063e6a025b8ca0163af2147f057d29447c6f9760
URL:
https://github.com/kamailio/kamailio/commit/063e6a025b8ca0163af2147f057d294…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-11-23T22:49:28+01:00
core: increase SHM memory pool to 128 MB
- increase SHM memory pool to 128 MB
- even an embedded system like Raspberry Pi has 1 GB RAM nowadays
- make it less likely that new users run into issues because of lack of memory
---
Modified: src/core/config.h
---
Diff:
https://github.com/kamailio/kamailio/commit/063e6a025b8ca0163af2147f057d294…
Patch:
https://github.com/kamailio/kamailio/commit/063e6a025b8ca0163af2147f057d294…
---
diff --git a/src/core/config.h b/src/core/config.h
index 0eda20302b..96196a0224 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -142,7 +142,7 @@
#endif
#define PKG_MEM_POOL_SIZE PKG_MEM_SIZE*1024*1024 /*!< used only if PKG_MALLOC is
defined*/
-#define SHM_MEM_SIZE 64 /*!< used if SH_MEM is defined*/
+#define SHM_MEM_SIZE 128 /*!< used if SH_MEM is defined*/
#define SHM_MEM_POOL_SIZE SHM_MEM_SIZE*1024*1024
/* dimensioning buckets in q_malloc */