#16022: Cyclic reference in FieldFile causes memory usage to grow considerably
-------------------------------------+-------------------------------------
     Reporter:  Gustavo Narea        |                    Owner:  Joshua
         Type:                       |  Massover
  Cleanup/optimization               |                   Status:  assigned
    Component:  Database layer       |                  Version:  4.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  memory leak          |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  1
  Needs tests:  1                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

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


Comment:

 From [https://github.com/django/django/pull/15592 the PR] it looks like we
 can push forwards with adding a `weak` option to `FileField` that would
 have `FieldFile` use a `weakref`, but that we can't just bring that in as
 there's a behaviour change with `save()` and `delete()`. (Maybe the case
 for the stronger change can be made via discussion on the
 DevelopersMailingList.)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16022#comment:14>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701818b874585-b2f8efde-e074-463c-ad27-a8b75849f631-000000%40eu-central-1.amazonses.com.

Reply via email to