From da5e757237721f38c1f16421f0862d35acf56016 Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 1 Aug 2013 15:04:13 +0000 Subject: Show memory usage on NoMemoryError ref #8711 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/runner.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/runner.rb b/test/runner.rb index 685a166bec..028426d4f3 100644 --- a/test/runner.rb +++ b/test/runner.rb @@ -30,5 +30,6 @@ begin exit Test::Unit::AutoRunner.run(true, src_testdir) rescue NoMemoryError system("cat /proc/meminfo") if File.exist?("/proc/meminfo") + system("ps x -opid,cmd,%mem,rss,size,vsz") if File.exist?("/bin/ps") raise end -- cgit v1.2.3