diff --git a/basic_report.rb b/basic_report.rb index 5977a0bd4..ab7b5cd47 100755 --- a/basic_report.rb +++ b/basic_report.rb @@ -149,3 +149,5 @@ def ts_string_to_date(ts) #print report.to_s #puts end + +printf "Basic report RSS: %dMB\n", `ps -p #{$$} -o rss=`.to_i / 1024 diff --git a/timeline_report.rb b/timeline_report.rb index e831fbff4..358fbb0da 100755 --- a/timeline_report.rb +++ b/timeline_report.rb @@ -137,3 +137,5 @@ def ruby_desc_to_sha(ruby_desc) report = report_class_by_name[report_name].new context report.write_files(output_dir) end + +printf "Timeline report RSS: %dMB\n", `ps -p #{$$} -o rss=`.to_i / 1024