yes after every call, that was the first thing I tried, it made the situation better but not cured it. Are there any circumstances where mysql_free_result() will not free the result ? does it have to be called before any further mysql_real_query() calls are made even on a diffrent MYSQL_RES pointer ?
I think I am heading for a code re-write by the looks of things so any suggestions on common traps that I may have fallen into would be helpful thanks ----- Original Message ----- From: "Sinisa Milivojevic" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, February 04, 2002 7:38 PM Subject: Re: Memory Leaks ? > iain furneaux writes: > > Im afraid I do not know where the possible leaks are as I only have the > > mtrace dump which I included a section of in my first posting, I have > > included the whole dump. As the current code runs into several hundred lines > > I do not think it would be helpful > > > > mtrace dump > > > > I am afraid that we can not conclude mush from your output. > > Most likely it is an error in your code. > > Have you called mysql_free_result() after fetching rows ?? > > -- > Regards, > __ ___ ___ ____ __ > / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]> > / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer > /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus > <___/ www.mysql.com > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php