class Monitors::ViolationsRecorders::Memory

Public Class Methods

process_attr() click to toggle source
# File lib/monitors/violations_recorders/memory.rb, line 12
def process_attr
  :pid
end
process_is_violating?(process) click to toggle source
# File lib/monitors/violations_recorders/memory.rb, line 16
def process_is_violating?(process)
  process.memory_usage > Cfg.memory_limit
end
retries_limit() click to toggle source
# File lib/monitors/violations_recorders/memory.rb, line 8
def retries_limit
  Cfg.memory_retries
end