This commit is contained in:
Joey Hess 2020-10-19 14:48:39 -04:00
parent 72644d919a
commit 5009c1ce68
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 66 additions and 0 deletions

View file

@ -30,3 +30,5 @@ Version 8.20200720 (cat-file --buffer)
Smoking gun. And probably reasonable. But, why exactly does that optimisation
change the memory use in this way?
[[done]]

View file

@ -0,0 +1,17 @@
[[!comment format=mdwn
username="joey"
subject="""comment 10"""
date="2020-10-19T17:33:49Z"
content="""
[[/profiling]] has a history of `+RTS -p` profiles in the same repo.
Comparing against the 10 month old one there, current git-annex find
runs in same time, and actually allocates slightly less memory, 583357880
bytes down from 608475328. That's memory churn, not max memory usage,
so doesn't rule out a memory leak. But if there is one, it's memory that
was allocated before, so it would need to be a laziness bug I think.
And the profiles are not showing another such leak.
My feeling is, what's left now is all due to a change to haskell runtime's
memory management, or a library. So not worth keeping this open for since I
can't do anything about it except for keep an eye on it.
"""]]