This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author alibotean
Recipients alibotean, ghaering
Date 2014-08-25.16:26:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1408984009.79.0.485457532586.issue22272@psf.upfronthosting.co.za>
In-reply-to
Content
There are significant memory leaks when multiple insert statements are executed with distinct values.

sqlite3 version is 2.6.0

The attached file contains two variants:

* one which uses string interpolation to build the query: this generates severe leakeage
* the other one is using parametrized queries and the leakeage is not as bad

I'm assuming that somehow the query string reference is not freed properly.
History
Date User Action Args
2014-08-25 16:26:49aliboteansetrecipients: + alibotean, ghaering
2014-08-25 16:26:49aliboteansetmessageid: <1408984009.79.0.485457532586.issue22272@psf.upfronthosting.co.za>
2014-08-25 16:26:49aliboteanlinkissue22272 messages
2014-08-25 16:26:49aliboteancreate