just after including gem into gemfile i receive this error...
if i add
require 'pp'
require 'sys/proctable'
to gems/memory_tracker-1.2.2/lib/memory_tracker.rb
i receive next errors
undefined method `rss' for #<Struct::ProcTableStruct
undefined method `vsize' for #<Struct::ProcTableStruct
for this block of code in memory_tracker-1.2.2/lib/memory_tracker/request.rb
private
def self.rss
rss = ProcTable.ps(Process.pid).rss * 0.004096
end
def self.vsize
vsize = ProcTable.ps(Process.pid).vsize * 0.000001
end
and as far as i discovered ProcTable.ps... really has no this methods https://github.com/djberg96/sys-proctable/wiki
is this gem ready for production? can you please help to run it properly? because looks like very nice instrument to monitor memory leaks
just after including gem into gemfile i receive this error...
if i add
to gems/memory_tracker-1.2.2/lib/memory_tracker.rb
i receive next errors
for this block of code in memory_tracker-1.2.2/lib/memory_tracker/request.rb
and as far as i discovered
ProcTable.ps...really has no this methods https://github.com/djberg96/sys-proctable/wikiis this gem ready for production? can you please help to run it properly? because looks like very nice instrument to monitor memory leaks