File a jira and confirm you can make it work with just  65536 set for both constants


On Tue, Mar 10, 2015 at 2:00 PM, DP Siddharth <dp.siddharth@eng.knowlarity.com> wrote:
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@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@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@eng.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@eng.knowlarity.com

"Come together to build a lasting world-class cloud telephony company that helps businesses grow"

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/  ☞ http://cluecon.com/  ☞ http://twitter.com/FreeSWITCH
ClueCon Weekly Development Call 
☎ sip:888@conference.freeswitch.org  ☎ +19193869900