I've filled a bug report:
http://code.djangoproject.com/ticket/16022
On 13/05/11 10:57, Gustavo Narea wrote:
> Hello,
>
> I've noticed that when you iterate over a query set and use a
> FileField instance from each model instance, the memory used by the
> process increases every time the loop fini
OK, I've found that if I use .iterator() on the query set, the amount of
memory used doesn't grow. So I suppose FileField is somehow (indirectly)
referencing something in the retrieved data.
BTW, we've created a fresh Django project with "django-admin
startproject" and the problem is present. It l
Hello,
I've noticed that when you iterate over a query set and use a
FileField instance from each model instance, the memory used by the
process increases every time the loop finishes. This happens on the
Web and command-line interfaces.
Say you have the following model:
"""
class Bug(Model):
3 matches
Mail list logo