<model-name>.objects.filter function + sqlite => doesn't return and consumes increasing memory size
|Reported by:||assie181@…||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||1.3|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
<model-name>.objects.filter function when used on a sqlite database(link given below) is eating up increasing memory size and doesn't return.
How to reproduce:
- Install Django 1.3.1 and CherryPy
- Extract http://dl.dropbox.com/u/1522424/leaky-sqlite-django-cleanedup.tar.gz
- Run as "python cherryserver.py".
You will find that the process consumes increasing memory size and doesn't return. Same database works fine with sqlite3 CLI, various sqlite GUI browsers and Python's in-built sqlite module.