Methods
M
Constants
Mode = RubyProf::MEMORY if RubyProf.const_defined?(:MEMORY)
Instance Public methods
measure()
    # File activesupport/lib/active_support/testing/performance/ruby/yarv.rb, line 22
22:             def measure
23:               GC.malloc_allocated_size
24:             end
measure()
    # File activesupport/lib/active_support/testing/performance/ruby/mri.rb, line 22
22:             def measure
23:               RubyProf.measure_memory
24:             end
measure()
    # File activesupport/lib/active_support/testing/performance/jruby.rb, line 96
96:           def measure
97:             ManagementFactory.memory_mx_bean.non_heap_memory_usage.used + ManagementFactory.memory_mx_bean.heap_memory_usage.used
98:           end
measure()
    # File activesupport/lib/active_support/testing/performance/rubinius.rb, line 88
88:           def measure
89:             loopback.get("system.memory.counter.bytes").last
90:           end