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
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
Get a threaddump, or use a profiler tool (jconsole, YourKit, jprofiler, etc) to figure it out. I've been using this client for about 2 years without issues. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Thiruvallar Raveendran Sent: Thursday, June 06, 2013 12:19 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Freeswitch Java ESL Client 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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Hector Geraldino
-
Steven Ayre
-
Thiruvallar Raveendran