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