Skip to content
  • Emily Chui's avatar
    Set GOMEMLIMIT for Gitaly container · 2412974d
    Emily Chui authored and João Alexandre Cunha's avatar João Alexandre Cunha committed
    Setting this env variable can help avoid OOM related errors induced by
    the Go garbage collector. Go is not aware of what the container's memory
    limits are, by setting this we can configure a soft memory limit. It
    will be more aggressive running gc cycles (increasing cpu usage) getting
    closer to the limit and try to use all the live heap before increasing
    more memory for the heap.
    
    Changelog: added
    2412974d