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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org