[Freeswitch-users] Lua script hangup detect
Mike van Lammeren
mike at van.lammeren.net
Thu Feb 11 13:51:20 PST 2010
D'oh!
I am currently working on a project that uses Lua and the native MySQL
driver, so as soon as I read this comment, I decided that I had better do a
bit of research.
I wrote a Lua test script that makes 10 queries against a MySQL database,
then ran it repeatedly.
My results show that "leaks like a sieve" is quite correct. To me, it
doesn't look like any memory is released, ever. After only 5000 queries or
so, the memory allocated for FreeSWITCH balloons from 15 Mb to 50 Mb, and
never goes back down.
Thanks, Brian, for the heads up!
Mike van Lammeren
On Thu, Feb 11, 2010 at 8:26 AM, Brian West <brian at freeswitch.org> wrote:
> Yes ODBC doesn't seem to leak... while the native one leaks like a sieve.
>
> /b
>
> On Feb 11, 2010, at 2:56 AM, Nazim Agabekov wrote:
>
> > I'm using luasql with ODBC MySQL driver in production. I've never tried
> > to use luasql with "native" mysql driver, but ODBC one works great.
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100211/a78bb120/attachment-0002.html
More information about the FreeSWITCH-users
mailing list