Andrei Pelinescu-Onciul writes:
core: pkg mem size configurable form the cmd line
The pkg mem size used can be configured by using the "-M"
parameter on the command line, e.g.:
ser -M 8 -f test.cfg # start ser with 8mb of pkg memory
The default remains 4Mb.
-M 4 worked fine, but -M 3 resulted in segmentation fault:
Apr 14 17:42:43 sip kernel: [38159.753805] sip-proxy[15586]: segfault at 0 ip 08177a0e sp
bfe6eda0 error 4 in sip-proxy[8048000+18e000]
Not starting sip-proxy: invalid configuration file!
0(15586) : <core> [cfg.lex:1359]: ERROR:lex:addstr: memory allocation error
0(15586) : <core> [route_struct.c:174]: ERROR: mk_action: memory allocation
failure
0(15586) : <core> [cfg.lex:1359]: ERROR:lex:addstr: memory allocation error
0(15586) : <core> [cfg.lex:1359]: ERROR:lex:addstr: memory allocation error
0(15586) : <core> [cfg.lex:1359]: ERROR:lex:addstr: memory allocation error
0(15586) : <core> [cfg.lex:1359]: ERROR:lex:addstr: memory allocation error
0(15586) : <core> [cfg.lex:1359]: ERROR:lex:addstr: memory allocation error
0(15586) : <core> [cfg.lex:1359]: ERROR:lex:addstr: memory allocation error
0(15586) : <core> [cfg.lex:1359]: ERROR:lex:addstr: memory allocation error
0(15586) : <core> [cfg.lex:1359]: ERROR:lex:addstr: memory allocation error
0(15586) : <core> [cfg.lex:1359]: ERROR:lex:addstr: memory allocation error
0(15586) : <core> [cfg.lex:1359]: ERROR:lex:addstr: memory allocation error
0(15586) : <core> [cfg.lex:1359]: ERROR:lex:addstr: memory allocation error
0(15586) : <core> [cfg.lex:1359]: ERROR:lex:addstr: memory allocation error
i could not find core file.
-- juha