Make sure your mysql lib is the right one, you need the re entrant version look for _r We have seen people getting leaks in mysql in the past in several applications when not using the correct lib. There is not much else we can do to keep you from having a leak in Java and/or mysql client lib. If you can run it in valgrind and attribute it to FreeSWITCH actually holding the memory we can have a look. On Fri, Jan 23, 2009 at 1:17 PM, Simon Leck <simon0922@gmail.com> wrote:
Hi Brian,
Thanks for your prompt reply. We are currently using FreeSwitch rev 1.02. As for OS, we are using CentOS 5.2.
We are using Java application to connect to MySQL database by JDBC APIs, the issue we faced is that after many calls are made, the java application will reflect the error message shown below. Furthermore the java application will not release the memory even though, the application had disconnect from the connected session
Here are the errors message,
"Caused by: java.lang.OutOfMemoryError: PermGen space"
Thanks again Brian in advance for your kind assistance.
Thanks
Simon
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Brian West *Sent:* Thursday, January 22, 2009 5:20 PM *To:* freeswitch-users@lists.freeswitch.org *Subject:* [?? Probable Spam] Re: [Freeswitch-users] freeswitch memory leak issue
What rev? What OS? What exactly are you doing?
/b
On Jan 23, 2009, at 11:15 AM, Simon Leck wrote:
Hi All,
I am experiencing memory leak issue in FreeSwitch? Anybody knows how this can be resolved, please email me.
Thanks in advance to everybody for your kind assistance.
Thanks
Simon
_______________________________________________ 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
_______________________________________________ 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 FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400