lib/instana/backend/process_info.rb in instana-1.205.0 vs lib/instana/backend/process_info.rb in instana-1.206.0

- old
+ new

@@ -45,9 +45,17 @@ return unless File.exist?(path) File.read(path).match(/\d+/).to_s.to_i end + def memory_used + if RbConfig::CONFIG['host_os'].include?('darwin') + rss / 1024 + else + rss * 4096 + end + end + private def clean_arguments(arguments) return arguments unless RbConfig::CONFIG['host_os'].include?('darwin')