by sciurus · 8y ago · 0 comments
print File.readlines('/proc/self/status').select {|line| line =~ /VmRSS/}[0]
This is not what people mean when they talk about memory profiling, but it looked like what you were talking about, so I thought I'd share it.No comments yet.