From 6ad32b54874e493287c0425b2817db71a9f8ae6b Mon Sep 17 00:00:00 2001 From: Randy Stauner Date: Mon, 16 Sep 2024 14:36:18 -0700 Subject: [PATCH] Show RSS of reporting process Help determine what size we need in AWS --- continuous_reporting/generate_and_upload_reports.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/continuous_reporting/generate_and_upload_reports.rb b/continuous_reporting/generate_and_upload_reports.rb index c809e7bf9..0d8399866 100755 --- a/continuous_reporting/generate_and_upload_reports.rb +++ b/continuous_reporting/generate_and_upload_reports.rb @@ -369,4 +369,6 @@ def ruby_version_from_metadata(metadata) YJITMetrics.check_call "git gc" end +printf "Reporting RSS: %dMB\n", `ps -p #{$$} -o rss=`.to_i / 1024 + puts "Finished generate_and_upload_reports successfully in #{YM_REPO}!"