[Freeswitch-users] ESL object taking large memory

DP Siddharth dp.siddharth at eng.knowlarity.com
Tue Mar 10 22:00:02 MSK 2015


Going through logs I found following commit id, where these changes were
done. Any suggetion about having

#define BUF_CHUNK 65536 * 50
#define BUF_START 65536 * 100

to some smaller values?

commit 2081bf97b9836f5299c22edbb1ead077842ea2bc
Author: Anthony Minessale <anthm at freeswitch.org>
Date:   Thu Dec 16 11:33:38 2010 -0600

    use a packet buffer for ESL

On Tue, Mar 10, 2015 at 6:50 PM, DP Siddharth <
dp.siddharth at eng.knowlarity.com> wrote:

> Hi All,
>
> I am working on python/esl based server. We are seeing memory getting
> increase by ~6.5MB when con = ESLconnection() get called.
>
> We tried to cleanup this object as soon calls gets complete, but somehow
> we are not successful.
>
> Further looking into esl/src/include/esl.h we found
>
> #define BUF_CHUNK 65536 * 50
> #define BUF_START 65536 * 100
>
> modifying these values help in controlling python server memory growth.
>
> Can someone help me in understanding why we have this buffer size of
> 6.5MB?
>
>
> --
> Thanks & Regards,
> D P Siddharth
> Director (Platform)
> Knowlarity Communications
> Ph: +919999115231
> dp.siddharth at eng.knowlarity.com <emailID at knowlarity.com>
>
> *"Come together to build a lasting world-class cloud telephony company
> that helps businesses grow"*
>



-- 
Thanks & Regards,
D P Siddharth
Director (Platform)
Knowlarity Communications
Ph: +919999115231
dp.siddharth at eng.knowlarity.com <emailID at knowlarity.com>

*"Come together to build a lasting world-class cloud telephony company that
helps businesses grow"*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150311/68913c6e/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list