#5423: "dumpdata" should stream output one row at a time
----------------------+-----------------------------------------------------
   Reporter:  adrian  |                Owner:  nobody         
     Status:  new     |            Component:  django-admin.py
    Version:  SVN     |           Resolution:                 
   Keywords:          |                Stage:  Accepted       
  Has_patch:  1       |           Needs_docs:  0              
Needs_tests:  0       |   Needs_better_patch:  1              
----------------------+-----------------------------------------------------
Comment (by Densetsu no Ero-sennin <[EMAIL PROTECTED]>):

 I used this patch and changed `model.objects.all()` to
 `model.objects.iterator()` in
 `django/core/management/commands/dumpdata.py`. After that I was
 successfully able to dump a considerably big database (1Gb SQLite file).
 Python process resident memory size was at about 20M all the time.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5423#comment:8>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to