#16022: Cyclic reference in FieldFile
---------------------+----------------------------------------------
Reporter: Gustavo | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: Database layer (models, ORM)
Version: 1.1 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Easy pickings: 0
---------------------+----------------------------------------------
django.db.models.fields.files:FieldFile creates a cyclic reference to the
model instance it's attached to via
django.db.models.fields.files:FileDescriptor.
The effects can be considerable. In our Web site, for example, it causes
the process running Django to increase the memory used by over 1MB after
every request.
The patch is generated against Django trunk, even though it's only been
tested under Django 1.1.4 (but the cyclic reference doesn't seem to have
been fixed).
--
Ticket URL: <http://code.djangoproject.com/ticket/16022>
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.