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 <[email protected]> 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:* [email protected] [mailto: > [email protected]] *On Behalf Of *Brian West > *Sent:* Thursday, January 22, 2009 5:20 PM > *To:* [email protected] > *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 > [email protected] > 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 > [email protected] > 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:[email protected] <msn%[email protected]> GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:[email protected] <sip%[email protected]> iax:[email protected]/888 googletalk:[email protected]<googletalk%3aconf%[email protected]> pstn:213-799-1400
_______________________________________________ Freeswitch-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
