From d407815c306dd047ff68e70efe31dc63334e678f Mon Sep 17 00:00:00 2001 From: erwanlr Date: Thu, 21 Mar 2019 16:54:06 +0000 Subject: [PATCH] Adds comment about scale_bytes in memory_profiler --- bin/wpscan-memprof | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/wpscan-memprof b/bin/wpscan-memprof index b4c8ce9c..cd768494 100755 --- a/bin/wpscan-memprof +++ b/bin/wpscan-memprof @@ -20,4 +20,6 @@ report = MemoryProfiler.report(top: 10) do end end -report.pretty_print(scale_bytes: true, detailed_report: true, to_file: 'memprof.report') +# scale_bytes option not yet supported in the latest stable +# See https://github.com/SamSaffron/memory_profiler/issues/68 +report.pretty_print($stdout, scale_bytes: true, detailed_report: true, to_file: 'memprof.report')