<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'>
<br>ok, great...this is, I think, the relevant section on config.h<br><br><br>#ifndef PKG_MEM_SIZE<br>#define PKG_MEM_SIZE 4<br>#endif<br>#define PKG_MEM_POOL_SIZE PKG_MEM_SIZE*1024*1024&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /*!&lt; used only if PKG_MALLOC is defined*/<br><br>#define SHM_MEM_SIZE 32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /*!&lt; used if SH_MEM is defined*/<br><br><br><div>
<div>&nbsp;</div></div>SHM_MEM_SIZE 32 --&gt; this looks like 32 MB<br>and PKG_MEM_SIZE 4 looks like Bytes, that is why the PKG_MEM_POOL_SIZE is multiplied by 1024*1024 to get MBs I assume.<br><br>Please confirm.<br>thank you <br><br>fborot<br><br><div><br><br><br><br>&gt; From: henning.westerholt@1und1.de<br>&gt; To: fborot@hotmail.com<br>&gt; Subject: Re: [SR-Users] memory requirements for a registrar server<br>&gt; Date: Wed, 13 Jul 2011 18:15:40 +0200<br>&gt; CC: sr-users@lists.sip-router.org<br>&gt; <br>&gt; On Wednesday 13 July 2011, Fabian Borot wrote:<br>&gt; &gt; thank you Henning<br>&gt; &gt; <br>&gt; &gt; "A PKG setting of 4-8 MB and a shared pool of 512MB should be  really<br>&gt; &gt; enough" "Normally you're more concerned about private (per process)<br>&gt; &gt; memory,"<br>&gt; &gt; <br>&gt; &gt; where do I set them?<br>&gt; <br>&gt; Hi Fabian,<br>&gt; <br>&gt; you can set it at compile time in config.h (PKG_MEM_POOL or something like <br>&gt; this), or the in upcoming version 3.2 on the command line.<br>&gt; <br>&gt; Best regards,<br>&gt; <br>&gt; Henning<br></div>                                               </div></body>
</html>