Opened 8 years ago
Last modified 8 years ago
#27790 new Cleanup/optimization
Investigate increased memory usage in tests when calling migrate without available_apps set
Reported by: | Tim Graham | Owned by: | nobody |
---|---|---|---|
Component: | Migrations | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
91023d79ec70df9289271e63a67675ee51e7dea8 increased memory usage of the test suite. I've created a 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)
Note:
See TracTickets
for help on using tickets.
In 7d50d2b: