17 messages in com.mysql.lists.plusplusQuery Object Memory Leak?
FromSent OnAttachments
Kevin Regan20 Jun 2006 09:08 
Bill K20 Jun 2006 21:22 
Bill K21 Jun 2006 06:01 
Warren Young21 Jun 2006 10:02 
Warren Young21 Jun 2006 10:29 
Bill K21 Jun 2006 12:08 
Warren Young21 Jun 2006 13:00 
Bill K21 Jun 2006 13:14 
Warren Young21 Jun 2006 14:00 
Bill K21 Jun 2006 18:40 
Matt Dargavel22 Jun 2006 03:59 
Bill K22 Jun 2006 08:25 
Jim Langston22 Jun 2006 09:20 
Warren Young22 Jun 2006 22:30 
Warren Young22 Jun 2006 22:38 
Warren Young22 Jun 2006 22:48 
Matt Dargavel23 Jun 2006 03:45 
Subject:Query Object Memory Leak?
From:Bill K (rep@billism.com)
Date:06/21/2006 06:01:23 AM
List:com.mysql.lists.plusplus

Sorry, looks like I somehow put this in the wrong thread. (thread: CLIENT_FOUND_ROWS) Maybe a mod. can delete that post?

------

I am developing code that needs to create query objects often. There seems to be a memory leak - memory not being released by the query object when it goes out of scope. Is this a known issue, or am I missing something? I have tried this with VC7.1 and VC8.

code to recreate problem:

// Begin Code mysqlpp::Connection conn = new mysqlpp::Connection(); for(int i=0; i <1000000; i++) { mysqlpp::Query myQuery = conn.query(); } // End Code

Thanks!