I have read this warning a thousand times by now! And I still made this mistake! I am running this batch script on my development machine where DEBUG is set to True!
I set DEBUG to False and memory is just fine now! Program is running smoothly. Thanks very much. I will never make this mistake again! ;-) Berry On Aug 18, 10:46 pm, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote: > On 8/18/07, Berry <[EMAIL PROTECTED]> wrote: > > > Why is this program eating memory? > > If settings.DEBUG = True, django.db.connection.queries logs all > queries sent to the DB. > > Either turn off debug, or truncate that list occasionally, maybe once > for each outer loop. > > from django.db import connection > connection.queries = [] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---