Fix a memory leak by removing OPAMSTATS#6485
Conversation
|
update: there was the environment variable OPAMSTATS, but I've not found anything on github that set it. of course, your backwards compatibility may differ -- but I find this specific form of statistics not very useful. |
|
Personally, i'm fine with removing |
rjbou
left a comment
There was a problem hiding this comment.
I've added changelog API and mark OPAMSTATS env variable as removed instead of removing it completely.
|
|
|
Thank your for the PR @hannesm! |
|
For the records, the old output of stats was: |
especially in long-running applications that use opam as a library reading and/or writing lots of opam files, this lead to a huge amount of memory usage for no obvious gain.
Partially addresses #6484