Are you connecting *to* FS *from* Java, or visa versa?<div><br></div><div>If connecting *to* FS you could try looking at having a single persistent ESL connection that&#39;s shared with the Java process among anything needing it.<span></span></div>
<div><br></div><div>-Steve<br><br>On Thursday, June 6, 2013, Thiruvallar Raveendran  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
I am new to FreeSWITCH. I am using Java ESL client to receive call<br>
events from FreeSWITCH machine.<br>
<br>
Memory leak occured when everytime Freeswitch connects with my java code<br>
through ESL client.<br>
<br>
Due to some reason, garbage collector doesn&#39;t clean up the memory. My<br>
Java program fails without memory when I feed thousands of calls. I<br>
cleared all my local references and closed netty channel.<br>
<br>
I am not sure whether ESL clients holds any reference. Is anyone faced<br>
this issue before?<br>
<br>
Your help on this  will be much appreciated.<br>
<br>
Thanks.<br>
<br>
Regards,<br>
Thiru<br>
<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;consulting@freeswitch.org&#39;)">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;FreeSWITCH-users@lists.freeswitch.org&#39;)">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div>