<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-dev] limit memory usage of freeswitch</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>FreeSWITCH doesn&#8217;t eat up all the memory... It just eats up what it needs and just doesn&#8217;t give it back....<BR>
<BR>
The question is how many concurrent calls are you actually doing? Freeswitch will allocate as much ram as it needs to an upper limit based on max peak concurrent calls, then plateau there and not release that ram until you restart FreeSWITCH....<BR>
<BR>
I have many boxes running high volumes of FreeSWITCH traffic w/ 4 to 8G of ram, and have secondary processes on those boxes that can use up to 2G of ram and don&#8217;t have ram issues....<BR>
<BR>
K<BR>
<BR>
<BR>
<BR>
On 1/16/13 5:43 AM, &quot;rentmycoder rentmycoder&quot; &lt;<a href="rentmycoder@gmail.com">rentmycoder@gmail.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><I>Hi All,<BR>
<BR>
According to my experineces and some info found on FS lists it is the<BR>
normal behaviour that freeswitch eats up all of the available memory...<BR>
It's not a memory leak, but the standard behaviour of FS by design...<BR>
Correct me if I'm wrong...<BR>
</I></SPAN></FONT><SPAN STYLE='font-size:11pt'><I><FONT FACE="Arial">Is there any way to limit FS memory usage???<BR>
</FONT><FONT FACE="Monaco, Courier New">I need another services to run on the FS box...<BR>
<BR>
According to the answer on the users list, there is no built in way to limit the usage...<BR>
I'm going to add this feature request to fs and add as an option to freeswitch.conf.xml<BR>
</FONT></I><FONT FACE="Monaco, Courier New"><BR>
<I>Maybe I have to just modify the function where FS asks for available system memory...<BR>
Can anyone advice me a direction, how to code it?<BR>
<BR>
Thanks,<BR>
John<BR>
</I><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></FONT></SPAN><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-dev mailing list<BR>
<a href="FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT></FONT><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>-- <BR>
Ken<BR>
<FONT COLOR="#0000FF"><U><a href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><BR>
<a href="http://www.ClueCon.com">http://www.ClueCon.com</a><BR>
<a href="http://www.OSTAG.org">http://www.OSTAG.org</a><BR>
</U></FONT>irc.freenode.net #freeswitch<BR>
</SPAN></FONT>
</BODY>
</HTML>