Sidekiq Memory Killer has to be more accurate when in concluding that there is a memory leak
The killer https://gitlab.com/gitlab-org/gitlab-ee/blob/master/lib/gitlab/sidekiq_middleware/memory_killer.rb checks if RSS is exceeded and if so it sets the process to be recycled in `GRACE_TIME`. It's not really accurate because some jobs can exceed the RSS max value but release it after the garbage collection cycle. It's not a real memory leak.
@ayufan @stanhu @andrewn
issue