Your patch will override memory size set by "-m" option in case it is 64mb (-m 64).
I created another patch for my environment by moving setting sm_mem_size to default size after yyparse().

--- kamailio-4.4.3.orig/main.c 2016-09-14 16:50:30.000000000 +0300
+++ kamailio-4.4.3/main.c 2017-01-26 18:30:55.000000000 +0300
@@ -2069,9 +2069,6 @@

@@ -2136,6 +2133,11 @@

            goto error;

It also would be good to add documentation for shm_mem_size parameter in config file (I did not find it).

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.