Closed jdlcdl closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.21%. Comparing base (
8166a9e
) to head (51b13a2
). Report is 2 commits behind head on develop.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thank you Jean! Your indicator improvements will help answer these questions we all have.
Description
The idea here was twofold:
Since there will be loops that absolutely require gc.collect(), perhaps we can make a habit of doing it like:
...so that we can at least see how much memory had been used and that gc.collect() freed it for x times for this routine? Otherwise, a bad habit of collecting memory even when it's not necessary may become the norm?
Alternately, I wonder if we might never gc.collect() except where we are absolutely sure it's necessary... and then more generally use try/except "MemoryError", then do gc.collect() within the except block, and continuing on?
What is the purpose of this pull request?
Debugging RAM usage.