dike-0.0.2 - a memory leak debugger for rails

NAME

  dike

SYNOPSIS

  a simple memory leak detector for ruby with preconfigured rails
hooks.

INSTALL

  gem install dike

URIS

  http://www.codeforpeople.com/lib/ruby/
  http://rubyforge.org/projects/codeforpeople/

DESCRIPTION

  the concept behind dike.rb is simple: class Object is extended in
order that
  the location of each object's creation is tracked. a summarizer
command is
  given to walk ObjectSpace using each object's class and the location
if it's
  creation to detect memory leaks. not all leaks can be detected and
some that
  are may not really be leaks, but dike provided a simple way to see
the
  hotspots in your code that may potentially be leaking.

EXAMPLES

  PURE RUBY

    require 'dike'

    Dike.log STDERR # the default

    Thread.new do
      sleep 4.2 and Dike.finger
    end

    Main.start

  RAILS

    file:RAILS_ROOT/config/environment.rb
      ...
      require 'dike'

    shell: ./script/server

    shell: curl --silent http://localhost:3000 >/dev/null

    shell: cat ./log/dike/0