Skip to content

search: optimize memory usage

Administrator requested to merge backend-dry-run/search-memory-optimizations into main

Created by: tsenart

This commit brings the following memory optimizations:

  1. Use minimal Zoekt repo listing everywhere (i.e. zoekt.RepoListOptions{Minimal: true})
  2. Use list result caching everywhere and increase TTL from ~5s to ~30s on dotcom.

This should address the recent frontend OOMs.

Merge request reports

Loading