#27790: Investigate increased memory usage in tests when calling migrate without
available_apps set
------------------------------------------------+------------------------
Reporter: Tim Graham | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Migrations | Version: master
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
91023d79ec70df9289271e63a67675ee51e7dea8 increased memory usage of the
test suite. I've created a [https://github.com/django/django/pull/7972 PR]
to revert it but the root cause should be investigated.
I added these lines at the end of `runtests.py` to measure memory usage
(may be a naive solution):
{{{
import resource
print(resource.getrusage(resource.RUSAGE_SELF).ru_maxrss / 1000)
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27790>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.6fce8440337d46e3e53868db384b831f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.