On Sun, Mar 14, 2010 at 7:54 PM, Chad Phillips -- Apartment Lines
<c...@apartmentlines.com> wrote:
> i'm not sure if anybody has fixed this yet, but as of the last official 
> release, the LuaSQL MySQL driver has a memory leak.  i originally thought it 
> was due to a memory leak in libmysqlclient, but according to this bug report, 
> memory leaks occur when mysql_library_end() is not called properly:
>
> http://bugs.mysql.com/bug.php?id=45002
>
> documentation for mysql_library_end() is here:
>
> http://dev.mysql.com/doc/refman/5.0/en/mysql-library-end.html
>
> i'm hoping one of the project committers can look into this and get it fixed.

Did you actually see increasing memory consumption in LuaSQL due to
this, or is it just a problem with the valgrind report? The
documentation seems to imply that this function would need to be
called only when there are no more outstanding connections in the
whole process; coordinating a shutdown of the MySQL client among
different Lua states that can be running is doable but definitely
non-trivial (meaning it is not a quick fix), so I would like to get a
better grasp on the severity of this.

> thanks!
>
> chad

--
Fabio Mascarenhas

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to