I am getting below error when i start kamailio
Not starting : invalid configuration file!
0(2360) ERROR: <core> [mem/f_malloc.c:415]: fm_search_defrag():
fm_search_defrag(0x7f732c5ff010, 232); Free fragment not found!
0(2360) ERROR: <core> [mem/f_malloc.c:498]: fm_malloc():
fm_malloc(0x7f732c5ff010, 232) called from core: route_struct.c:
mk_action(118), module: core; Free fragment not found!
0(2360) CRITICAL: <core> [route_struct.c:137]: mk_action(): memory
allocation failure
0(2360) ERROR: <core> [mem/f_malloc.c:415]: fm_search_defrag():
fm_search_defrag(0x7f732c5ff010, 40); Free fragment not found!
0(2360) ERROR: <core> [mem/f_malloc.c:498]: fm_malloc():
fm_malloc(0x7f732c5ff010, 40) called from core: cfg.y: yyparse(2636),
module: core; Free fragment not found!
0(2360) : <core> [cfg.y:3368]: yyerror_at(): parse error in config file
/etc/kamailio/proxy.cfg, line 5372, column 3-28: Not enough memory
ERROR: bad config file (1 errors)
I tried increasing SHM_MEMORY and PKG_MEMORY under /etc/default/kamailio
I doubled memory but still getting same error.
Is there any other place i should look at ?