<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
for sake of completion - it proved to be due to very long numbers
inserted in the tree, resulting in lot of "unused" nodes comparing
with the number of numbers stored.<br>
<br>
<br>
On 9/28/10 3:22 PM, anthony thomas wrote:
<blockquote cite="mid:232887.14143.qm@web29719.mail.ird.yahoo.com"
type="cite">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="font: inherit;" valign="top">Hello list,
<div><br>
</div>
<div>I have been testing the new mtree module but I am a
little bit confused about the results. </div>
<div><br>
</div>
<div>On my tests, I randomly generated 500K, 1M and 2M
entries in a table in several trees. The size of the db
(on disk) ranges from 120 megs to 270 megs and when
Kamailio loads it in memory, it jumps from 1.0Gb to
2.8Gb.</div>
<div><br>
</div>
<div>Is there any way to pre-calculate the total amount of
memory that a tree will need?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>A</div>
</td>
</tr>
</tbody>
</table>
<br>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>