Hi Daniel,

sorry, it took me a bit longer to respond. I found a solution/workaround meanwhile.

When I do a command "kamailio -c -f <large_config_file>" I get the mentioned memory errors.
I used the -M option to increase the pkg memory in the kamctlrc file. But that doesn't seem to have an effect on the command.
When I'm using "kamailio -c -M 8 -f <large_config_file>" it is working.

Nevertheless here the output of the command line "kamailio -c -f <large_config_file>":
[kamailio@scscf2 sbin]$ ./kamailio -c -ddd -f /opt/kamailio/etc/kamailio/kamailio_scscf2.cfg.memory
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 8) called from <core>: route.c: init_rlist(180)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 8) returns address 0xb7bd9894 frag. 0xb7bd987c (size=8) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 64) called from <core>: str_hash.h: str_hash_alloc(69)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 64) returns address 0xb7bd98cc frag. 0xb7bd98b4 (size=64) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 24) called from <core>: route.c: route_add(159)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 24) returns address 0xb7bd993c frag. 0xb7bd9924 (size=24) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 8) called from <core>: route.c: init_rlist(180)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 8) returns address 0xb7bd9984 frag. 0xb7bd996c (size=8) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 64) called from <core>: str_hash.h: str_hash_alloc(69)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 64) returns address 0xb7bd99bc frag. 0xb7bd99a4 (size=64) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 24) called from <core>: route.c: route_add(159)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 24) returns address 0xb7bd9a2c frag. 0xb7bd9a14 (size=24) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 8) called from <core>: route.c: init_rlist(180)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 8) returns address 0xb7bd9a74 frag. 0xb7bd9a5c (size=8) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 64) called from <core>: str_hash.h: str_hash_alloc(69)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 64) returns address 0xb7bd9aac frag. 0xb7bd9a94 (size=64) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 24) called from <core>: route.c: route_add(159)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 24) returns address 0xb7bd9b1c frag. 0xb7bd9b04 (size=24) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 8) called from <core>: route.c: init_rlist(180)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 8) returns address 0xb7bd9b64 frag. 0xb7bd9b4c (size=8) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 64) called from <core>: str_hash.h: str_hash_alloc(69)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 64) returns address 0xb7bd9b9c frag. 0xb7bd9b84 (size=64) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 24) called from <core>: route.c: route_add(159)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 24) returns address 0xb7bd9c0c frag. 0xb7bd9bf4 (size=24) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 4) called from <core>: route.c: init_rlist(180)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 4) returns address 0xb7bd9c54 frag. 0xb7bd9c3c (size=4) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 64) called from <core>: str_hash.h: str_hash_alloc(69)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 64) returns address 0xb7bd9c88 frag. 0xb7bd9c70 (size=64) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 24) called from <core>: route.c: route_add(159)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 24) returns address 0xb7bd9cf8 frag. 0xb7bd9ce0 (size=24) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 8) called from <core>: route.c: init_rlist(180)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 8) returns address 0xb7bd9d40 frag. 0xb7bd9d28 (size=8) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 64) called from <core>: str_hash.h: str_hash_alloc(69)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 64) returns address 0xb7bd9d78 frag. 0xb7bd9d60 (size=64) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 24) called from <core>: route.c: route_add(159)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 24) returns address 0xb7bd9de8 frag. 0xb7bd9dd0 (size=24) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 12) called from <core>: nonsip_hooks.c: init_nonsip_hooks(57)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 12) returns address 0xb7bd9e30 frag. 0xb7bd9e18 (size=12) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 40) called from <core>: pvapi.c: pv_init_buffer(1819)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 40) returns address 0xb7bd9e6c frag. 0xb7bd9e54 (size=40) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 1024) called from <core>: pvapi.c: pv_init_buffer(1829)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 1024) returns address 0xb7bd9ec4 frag. 0xb7bd9eac (size=1024) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 1024) called from <core>: pvapi.c: pv_init_buffer(1829)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 1024) returns address 0xb7bda2f4 frag. 0xb7bda2dc (size=1024) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 1024) called from <core>: pvapi.c: pv_init_buffer(1829)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 1024) returns address 0xb7bda724 frag. 0xb7bda70c (size=1024) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 1024) called from <core>: pvapi.c: pv_init_buffer(1829)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 1024) returns address 0xb7bdab54 frag. 0xb7bdab3c (size=1024) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 1024) called from <core>: pvapi.c: pv_init_buffer(1829)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 1024) returns address 0xb7bdaf84 frag. 0xb7bdaf6c (size=1024) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 1024) called from <core>: pvapi.c: pv_init_buffer(1829)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 1024) returns address 0xb7bdb3b4 frag. 0xb7bdb39c (size=1024) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 1024) called from <core>: pvapi.c: pv_init_buffer(1829)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 1024) returns address 0xb7bdb7e4 frag. 0xb7bdb7cc (size=1024) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 1024) called from <core>: pvapi.c: pv_init_buffer(1829)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 1024) returns address 0xb7bdbc14 frag. 0xb7bdbbfc (size=1024) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 1024) called from <core>: pvapi.c: pv_init_buffer(1829)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 1024) returns address 0xb7bdc044 frag. 0xb7bdc02c (size=1024) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 1024) called from <core>: pvapi.c: pv_init_buffer(1829)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 1024) returns address 0xb7bdc474 frag. 0xb7bdc45c (size=1024) on 1 -th hit
 0(26292) DEBUG: <core> [pvapi.c:1837]: PV print buffer initialized to [10][1024]
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 44) called from <core>: pvapi.c: pv_table_add(229)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 44) returns address 0xb7bdc8a4 frag. 0xb7bdc88c (size=44) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 44) called from <core>: pvapi.c: pv_table_add(229)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 44) returns address 0xb7bdc900 frag. 0xb7bdc8e8 (size=44) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 44) called from <core>: pvapi.c: pv_table_add(229)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 44) returns address 0xb7bdc95c frag. 0xb7bdc944 (size=44) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 44) called from <core>: pvapi.c: pv_table_add(229)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 44) returns address 0xb7bdc9b8 frag. 0xb7bdc9a0 (size=44) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 256) called from <core>: str_hash.h: str_hash_alloc(69)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 256) returns address 0xb7bdca14 frag. 0xb7bdc9fc (size=256) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 128) called from <core>: rpc_lookup.c: init_rpcs(61)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 128) returns address 0xb7bdcb44 frag. 0xb7bdcb2c (size=128) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 114) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 116) returns address 0xb7bdcbf4 frag. 0xb7bdcbdc (size=116) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 106) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 108) returns address 0xb7bdcc98 frag. 0xb7bdcc80 (size=108) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 106) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 108) returns address 0xb7bdcd34 frag. 0xb7bdcd1c (size=108) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 101) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 104) returns address 0xb7bdcdd0 frag. 0xb7bdcdb8 (size=104) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 102) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 104) returns address 0xb7bdce68 frag. 0xb7bdce50 (size=104) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 87) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 88) returns address 0xb7bdcf00 frag. 0xb7bdcee8 (size=88) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 103) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 104) returns address 0xb7bdcf88 frag. 0xb7bdcf70 (size=104) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 86) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 88) returns address 0xb7bdd020 frag. 0xb7bdd008 (size=88) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 145) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 148) returns address 0xb7bdd0a8 frag. 0xb7bdd090 (size=148) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 90) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 92) returns address 0xb7bdd16c frag. 0xb7bdd154 (size=92) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 106) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 108) returns address 0xb7bdd1f8 frag. 0xb7bdd1e0 (size=108) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 116) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 116) returns address 0xb7bdd294 frag. 0xb7bdd27c (size=116) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 102) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 104) returns address 0xb7bdd338 frag. 0xb7bdd320 (size=104) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 121) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 124) returns address 0xb7bdd3d0 frag. 0xb7bdd3b8 (size=124) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 89) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 92) returns address 0xb7bdd47c frag. 0xb7bdd464 (size=92) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 273) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 276) returns address 0xb7bdd508 frag. 0xb7bdd4f0 (size=276) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 88) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 88) returns address 0xb7bdd64c frag. 0xb7bdd634 (size=88) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 93) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 96) returns address 0xb7bdd6d4 frag. 0xb7bdd6bc (size=96) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 403) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 404) returns address 0xb7bdd764 frag. 0xb7bdd74c (size=404) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 90) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 92) returns address 0xb7bdd928 frag. 0xb7bdd910 (size=92) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 98) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 100) returns address 0xb7bdd9b4 frag. 0xb7bdd99c (size=100) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 84) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 84) returns address 0xb7bdda48 frag. 0xb7bdda30 (size=84) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 75) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 76) returns address 0xb7bddacc frag. 0xb7bddab4 (size=76) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 87) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 88) returns address 0xb7bddb48 frag. 0xb7bddb30 (size=88) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 99) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 100) returns address 0xb7bddbd0 frag. 0xb7bddbb8 (size=100) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 80) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 80) returns address 0xb7bddc64 frag. 0xb7bddc4c (size=80) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 120) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 120) returns address 0xb7bddce4 frag. 0xb7bddccc (size=120) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 141) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 144) returns address 0xb7bddd8c frag. 0xb7bddd74 (size=144) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 92) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 92) returns address 0xb7bdde4c frag. 0xb7bdde34 (size=92) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 98) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 100) returns address 0xb7bdded8 frag. 0xb7bddec0 (size=100) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 96) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 96) returns address 0xb7bddf6c frag. 0xb7bddf54 (size=96) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 100) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 100) returns address 0xb7bddffc frag. 0xb7bddfe4 (size=100) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 106) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 108) returns address 0xb7bde090 frag. 0xb7bde078 (size=108) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:534]: qm_realloc(0xb7ba5008, 0xb7bdcb44, 256) called from <core>: rpc_lookup.c: rpc_hash_add(156)
 0(26292) DEBUG: <core> [mem/q_malloc.c:561]: qm_realloc: realloc'ing frag 0xb7bdcb2c alloc'ed from <core>: rpc_lookup.c: init_rpcs(61)
 0(26292) DEBUG: <core> [mem/q_malloc.c:595]: qm_realloc: growing from 128 to 256
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 256) called from <core>: rpc_lookup.c: rpc_hash_add(156)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 256) returns address 0xb7bde12c frag. 0xb7bde114 (size=256) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:437]: qm_free(0xb7ba5008, 0xb7bdcb44), called from <core>: rpc_lookup.c: rpc_hash_add(156)
 0(26292) DEBUG: <core> [mem/q_malloc.c:461]: qm_free: freeing frag. 0xb7bdcb2c alloc'ed from <core>: rpc_lookup.c: init_rpcs(61)
 0(26292) DEBUG: <core> [mem/q_malloc.c:650]: qm_realloc: returning 0xb7bde12c
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 104) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 104) returns address 0xb7bdcb44 frag. 0xb7bdcb2c (size=128) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 107) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 108) returns address 0xb7bde25c frag. 0xb7bde244 (size=108) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 107) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 108) returns address 0xb7bde2f8 frag. 0xb7bde2e0 (size=108) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 103) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 104) returns address 0xb7bde394 frag. 0xb7bde37c (size=104) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 104) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 104) returns address 0xb7bde42c frag. 0xb7bde414 (size=104) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 104) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 104) returns address 0xb7bde4c4 frag. 0xb7bde4ac (size=104) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 104) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 104) returns address 0xb7bde55c frag. 0xb7bde544 (size=104) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 96) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 96) returns address 0xb7bde5f4 frag. 0xb7bde5dc (size=96) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 112) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 112) returns address 0xb7bde684 frag. 0xb7bde66c (size=112) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 147) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 148) returns address 0xb7bde724 frag. 0xb7bde70c (size=148) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 105) called from <core>: rpc_lookup.c: rpc_hash_add(110)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 108) returns address 0xb7bde7e8 frag. 0xb7bde7d0 (size=108) on 1 -th hit
 0(26292) DEBUG: <core> [main.c:2010]: read 3229379788 from /dev/urandom
 0(26292) DEBUG: <core> [main.c:2016]: seeding PRNG with 307805510
 0(26292) DEBUG: <core> [main.c:2020]: test random numbers 1856380999 203943251 1135631255
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 128) called from <core>: cfg.lex: addstr(1409)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 128) returns address 0xb7bde884 frag. 0xb7bde86c (size=128) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 128) called from <core>: cfg.lex: addstr(1409)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 128) returns address 0xb7bde934 frag. 0xb7bde91c (size=128) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 9) called from <core>: cfg.y: yyparse(2283)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 12) returns address 0xb7bde9e4 frag. 0xb7bde9cc (size=12) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:437]: qm_free(0xb7ba5008, 0xb7bde884), called from <core>: cfg.y: yyparse(2293)
 0(26292) DEBUG: <core> [mem/q_malloc.c:461]: qm_free: freeing frag. 0xb7bde86c alloc'ed from <core>: cfg.lex: addstr(1409)
 0(26292) DEBUG: <core> [mem/q_malloc.c:437]: qm_free(0xb7ba5008, 0xb7bde934), called from <core>: cfg.y: yyparse(2295)
 0(26292) DEBUG: <core> [mem/q_malloc.c:461]: qm_free: freeing frag. 0xb7bde91c alloc'ed from <core>: cfg.lex: addstr(1409)
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 9) called from <core>: cfg.y: yyparse(730)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 12) returns address 0xb7bde934 frag. 0xb7bde91c (size=12) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 12) called from <core>: cfg.y: mk_name_lst(3665)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 12) returns address 0xb7bde970 frag. 0xb7bde958 (size=68) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 20) called from <core>: cfg.y: mk_listen_id2(3716)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 20) returns address 0xb7bde884 frag. 0xb7bde86c (size=20) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 108) called from <core>: socket_info.c: new_sock_info(243)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 108) returns address 0xb7bdea20 frag. 0xb7bdea08 (size=108) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 9) called from <core>: socket_info.c: new_sock_info(248)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 12) returns address 0xb7bde8c8 frag. 0xb7bde8b0 (size=60) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 108) called from <core>: socket_info.c: new_sock_info(243)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 108) returns address 0xb7bdeabc frag. 0xb7bdeaa4 (size=108) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 9) called from <core>: socket_info.c: new_sock_info(248)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 12) returns address 0xb7bdeb58 frag. 0xb7bdeb40 (size=12) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 108) called from <core>: socket_info.c: new_sock_info(243)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 108) returns address 0xb7bdeb94 frag. 0xb7bdeb7c (size=108) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 9) called from <core>: socket_info.c: new_sock_info(248)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 12) returns address 0xb7bdec30 frag. 0xb7bdec18 (size=12) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:437]: qm_free(0xb7ba5008, 0xb7bde970), called from <core>: cfg.y: free_name_lst(3706)
 0(26292) DEBUG: <core> [mem/q_malloc.c:461]: qm_free: freeing frag. 0xb7bde958 alloc'ed from <core>: cfg.y: mk_name_lst(3665)
 0(26292) DEBUG: <core> [mem/q_malloc.c:437]: qm_free(0xb7ba5008, 0xb7bde884), called from <core>: cfg.y: free_socket_id(3733)
 0(26292) DEBUG: <core> [mem/q_malloc.c:461]: qm_free: freeing frag. 0xb7bde86c alloc'ed from <core>: cfg.y: mk_listen_id2(3716)
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 128) called from <core>: cfg.lex: addstr(1409)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 128) returns address 0xb7bdec6c frag. 0xb7bdec54 (size=128) on 1 -th hit
 0(26292) DEBUG: <core> [mem/q_malloc.c:369]: qm_malloc(0xb7ba5008, 128) called from <core>: cfg.lex: addstr(1409)
 0(26292) DEBUG: <core> [mem/q_malloc.c:413]: qm_malloc(0xb7ba5008, 128) returns address 0xb7bded1c frag. 0xb7bded04 (size=128) on 1 -th hit
loading modules under /opt/kamailio/lib/kamailio/modules_k/:/opt/kamailio/lib/kamailio/modules/
 0(26292) : <core> [cfg.lex:1426]: ERROR:lex:addstr: memory allocation error
 0(26292) : <core> [cfg.lex:1428]: ERROR:lex:addstr: try to increase pkg size with -M parameter


Cheers,
Fred