D'oh!<br><br><div>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.</div><div><br></div><div>I wrote a Lua test script that makes 10 queries against a MySQL database, then ran it repeatedly.</div>
<div><br></div><div>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.</div>
<div><br></div><div>Thanks, Brian, for the heads up!</div><div><br></div><div>Mike van Lammeren</div><div><br><br><div class="gmail_quote">On Thu, Feb 11, 2010 at 8:26 AM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Yes ODBC doesn't seem to leak... while the native one leaks like a sieve.<br>
<font color="#888888"><br>
/b<br>
</font><div class="im"><br>
On Feb 11, 2010, at 2:56 AM, Nazim Agabekov wrote:<br>
<br>
> I'm using luasql with ODBC MySQL driver in production. I've never tried<br>
> to use luasql with "native" mysql driver, but ODBC one works great.<br>
<br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>