in reply to
Massive Memory Leak
That looks like every iteration you're preparing a query.
Perhaps pre-declaring it and using placeholders will help?
Electric dreams (yikes!)
2001: A Space Odyssey
None of the above, please specify
Results (263 votes),