>>>>With all the small changes I made so far (restoring back calls to MySQLExec) I get 0.21 as first call and 1.77 as last call for 500 iterations.
>>>
>>>
>>>The time of execution bears no relation to the memory leak imo
>>
>>IMHO, if execution time gradually increases for the same call with exactly same parameters - does not it indicate a memory leak?
>
>
>Why should it ?
Why not? How do you explain it otherwise? And also, what is the simple test to see if the memory is leaking or not?
If it's not broken, fix it until it is.
My Blog