Investigate memory usage of the Zoekt indexer
Background
@igorwwwwwwwwwwwwwwwwwwww
has noticed that we have a suspicious ioutil.ReadDir
in the cloud profiling: https://console.cloud.google.com/profiler/gitlab-zoekt-indexer;type=HEAP;weight=50/inuse_space?project=gitlab-production
Proposal
We should investigate since it seems to inflate our zoekt-indexer
memory usage.
Edited by Igor