#17619: MemoryError when deleting objects with many generic relations
-------------------------------------+-------------------------------------
     Reporter:  bjourne@…            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:                       |                  Version:  1.3
  contrib.contenttypes               |               Resolution:
     Severity:  Normal               |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by akaariai):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 Looking at the stack trace, I think I see the error: The copy.copy() in
 db_manager() is causing the cache to be filled, in other words, the query
 is executed, without any filters. That is not good!

 I haven't verified anything about this yet. The reason is I am having a
 hard time to set up generic relations, as the documentation doesn't give
 me a copy-paste example. Could you provide this, and I will see what I can
 find out.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17619#comment:1>
Django <https://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