Rack::OOMKiller is a rack middleware that will check the memory usage of the process post-request, and if > 400mb exit
Lincoln Stoll
gem "rack_oom_killer", "~> 0.0.2"