Hello,<br>We are working on optimizing our memcached configuration and I came across something I don&#39;t understand. It seems as though you are able to allocate a slab (and therefore more memory) even if you have passed the command line memory limit with other slabs. The code in question is in 
slabs.c in do_slabs_newslab():<br><br>&nbsp;&nbsp;&nbsp; if (mem_limit &amp;&amp; mem_malloced + len &gt; mem_limit &amp;&amp; p-&gt;slabs &gt; 0)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return 0;<br><br>So I can theoretically allocate 1 of each type of slab I don&#39;t have yet even if I am passed my memory limit. While it turns out this is advantageous (or at worst irrelevant because of the scale of the memory we are using), I am wondering what the rationale behind this code is?
<br><br><br>Chris Eberly<br>