Sidekiq not deallocating memory after workers have finished
Mike Perham who wrote Sidekiq addressed this here: http://www.mikeperham.com/2009/05/25/memory-hungry-ruby-daemons/
tl;dr version: MRI will not give the memory back, the most you can do is control the heap, and to do that, Ruby Enterprise Edition was suggested.
Don't know that any of this helps, but that is the situation - straight from the horse's mouth.
Sidekiq worker is leaking memory
I didn't find the cause for the memory leak in sidekiq, but I found a away to get a way from sidekiq.
I have modified git-tf to have server command that accepts command from redis queue, it removes lot of complexity from my code.
The modified version of git-tf is here:
https://github.com/yosy/gittf
I will add documentation later about the sever command when I will fix some bugs.
Related Topics
Fast Way to Get Remote Image Dimensions
Install Any Version of Ruby with Rvm on Mavericks
How to Remove Ruby from Ubuntu
Making Multiple Http Requests Asynchronously
Empty Attribute with Ruby Haml
Can Bundler Show Me Which Gems in Gemfile Have Newer Versions (Eg. Dry-Run of Bundle Update)
Hot Deploy on Heroku with No Downtime
Install Bundler Gem Using Ansible
How to Catch Errno::Econnreset Class in "Case When"
Rails Erb Form Helper Options_For_Select :Selected
How to Write Columns Header to a CSV File with Ruby
Get Absolute (Base) Url in Sinatra
Options for Distribution of an Offline Ruby on Rails Application
Write CSV in Ruby 1.9 and CSV::Writer