--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  name: above
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: pid_file
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: times
  rw: RW
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Condition Symbol :memory_usage Type: Poll"
- !ruby/struct:SM::Flow::P 
  body: Trigger when the resident memory of a process is above a specified limit.
- !ruby/struct:SM::Flow::P 
  body: Paramaters
- !ruby/struct:SM::Flow::VERB 
  body: "  Required\n    <tt>pid_file</tt> is the pid file of the process in question. Automatically\n               populated for Watches.\n    <tt>above</tt> is the amount of resident memory (in kilobytes) above which\n            the condition should trigger. You can also use the sugar\n            methods #kilobytes, #megabytes, and #gigabytes to clarify\n            this amount (see examples).\n"
- !ruby/struct:SM::Flow::P 
  body: Examples
- !ruby/struct:SM::Flow::P 
  body: "Trigger if the process is using more than 100 megabytes of resident memory (from a Watch):"
- !ruby/struct:SM::Flow::VERB 
  body: "  on.condition(:memory_usage) do |c|\n    c.above = 100.megabytes\n  end\n"
- !ruby/struct:SM::Flow::P 
  body: "Non-Watch Tasks must specify a PID file:"
- !ruby/struct:SM::Flow::VERB 
  body: "  on.condition(:memory_usage) do |c|\n    c.above = 100.megabytes\n    c.pid_file = &quot;/var/run/mongrel.3000.pid&quot;\n  end\n"
constants: []

full_name: God::Conditions::MemoryUsage
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: pid
- !ruby/object:RI::MethodSummary 
  name: prepare
- !ruby/object:RI::MethodSummary 
  name: reset
- !ruby/object:RI::MethodSummary 
  name: test
- !ruby/object:RI::MethodSummary 
  name: valid?
name: MemoryUsage
superclass: PollCondition
