<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi everyone,<br>
    <br>
    I'm using Kamailio 3.2.1 with a quite big config file. After adding
    some new config lines I did a syntax check of the configuration file
    with "kamailio -c -f <file>" and got the following error
    output:<br>
    <br>
    <font face="Courier New, Courier, monospace">loading modules under
/opt/kamailio/lib/kamailio/modules_k/:/opt/kamailio/lib/kamailio/modules/<br>
       0(28755) : <core> [cfg.lex:1426]: ERROR:lex:addstr: memory
      allocation error<br>
       0(28755) : <core> [cfg.lex:1428]: ERROR:lex:addstr: try to
      increase pkg size with -M parameter</font><br>
    <br>
    increasing the pkg memory (-M) or shared memory (-m) has no effect.
    <br>
    I played around with the size of the configuration file with xlog
    lines and the cause really seems to be the size of the config file.<br>
    Restart of Kamailio is possible without problems, it is only the
    syntax check that leads to the memory error output<br>
    <br>
    Is there any possibility to increase the memory for the syntax
    check?<br>
    <br>
    Regards<br>
    Fred <br>
  </body>
</html>