<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<blockquote style="background-color: rgb(255, 255, 255); "><span class="ecxApple-style-span" style="border-collapse: separate; line-height: 17px;"><div class="ecxhmmessage"><div dir="ltr"><font color="#2a2a2a"><div>Hello everybody,</div><div><br></div><div>I'm working with CDRTool and I found a problem of memory.</div><div>I have to work with large tables of data, which increases the memory usage during the execution.</div><div><br></div><div>My problem appears when I make any change in the destination table, after this, is enabled Reload rating tables in red.&nbsp;</div><div><br></div><div>After reload of rating tables, ratingengine.php start to use large amount of memory that never be release, causing speed problems on my server. This memory is released only when I stop manually CDRTool.&nbsp;</div><div><br></div><div>Is the problem perhaps here;</div><div><br></div><div>function reloadRatingEngineTables () {</div><div>.........</div><div><br></div><div>&nbsp;// init CDR datasource</div><div>$CDR_class &nbsp;= $DATASOURCES[$RatingEngine['cdr_source']]['class'];</div><div>$CDRS = new $CDR_class($RatingEngine['cdr_source']);</div><div>// &nbsp;is the following line necessary - is memcache still used ???</div><div><br></div><div>$CDRS-&gt;CacheDestinations();</div><div><br></div><div>Best regards and thanks</div><div>Daniel Conte</div></font></div></div></span></blockquote>                                               </div></body>
</html>