<div dir="ltr">Hi,<div><br></div><div>Regarding this issue:</div><div><br></div><div>I installed 3.3.6.</div><div><br></div><div>Didn't changed the makefile.defs, set mem_join=0 and there are no memory leaks. the reload is fast.</div>
<div><br></div><div>When mem_join = 1, the proccess take lots of time. And when reloading 5 million rows using MTREE, the MI FIFO child is stuck with 98% cpu for 4-6 minutes.</div><div><br></div><div>When mem_join=1 and the makefile.defs line "<span style="font-family:arial,sans-serif;font-size:13px">C_DEFS+= -DF_MALLOC" is deleted, the reloads are faster but, there is a memory leak.</span></div>
<div><br></div><div>So, for now I stay with the original makefile.defs and mem_join=0.</div><div><br></div><div>Thanks</div><div>Uri</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 23, 2014 at 4:16 PM, Uri Shacked <span dir="ltr"><<a href="mailto:ushacked@gmail.com" target="_blank">ushacked@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>kamailio ver 3.3.6.<br></div><div><br></div><div>I load approximately 100Mb of data into memory. And my shared memory size is 4Gb.</div>
<div>It is CARRIERROUTE, DIALPLAN, MTREE and HTABLE combimations.</div>
<div>My system has to be synced with DB that is being updated frequently.</div><div>So, I reload the data every 1-2 minutes.</div><div>I notice that the shared memory usage is increasing at 1% every 18-19 reloads.</div><div>

<br></div><div>I use mem_join = 1 and no mem_join at all. </div><div>I compiled with C_DEFS+= -DMEM_JOIN_FREE and even with -DF_MALLOC.</div><div><br></div><div>Tried different options, still, the issue keeps on going and it is very frustrating...</div>

<div><br></div><div>Anyone has the same problem?</div><div><br></div><div>BR,</div><div>Uri</div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div><br></div></div>