Skip to content

milann/oink

 
 

Repository files navigation

Oink

Description

Rails plugin and log parser to help narrow down the source(s) of increased memory usage in rails applications.

In this fork the Footnote module is added. It enables Oink to show its reports as a footnote in the page.

Installation and configuration

For basic Oink installation and usage see github.com/noahd1/oink

To activate the Footnote module just include it and configure in your ApplicationController so that it looks like this:

class ApplicationController

  include Oink::Footnote
  memory_bloat_threshold  250.megabytes
  activerecord_bloat_threshold 20

  include Oink::InstanceTypeCounter
  include Oink::MemoryUsageLogger
end

See what happens in when you reload your page.

Authors

  • Oink is maintained by Noah Davis

  • Thanks to Weplay (weplay.com) for sponsoring development and supporting open sourcing it from the start

About

Log parser to identify actions which significantly increase VM heap size

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%