On Fri, Nov 20, 2009 at 6:19 PM, Doug Blank <doug.bl...@gmail.com> wrote:

> Some additional data:
>
> I'm using Django 1.1 on Fedora11 with sqlite backend. I get the same
> kind of spiking of memory usage if I just enter:
>
> >>> Person.objects.all().delete()
>
> Memory usage continues to grow, and it doesn't seem to be able to be
> garbage collected. What could cause this? Anything I can set or issue
> to make Django clean up/use less  memory? I am running out of memory,
> just deleting the data! Something seems to be very wrong...
>
>
Are you running this script with settings that have DEBUG set to True?

See:
http://docs.djangoproject.com/en/dev/faq/models/#why-is-django-leaking-memory

Karen

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=.


Reply via email to