ruby-changes:30215
From: naruse <ko1@a...>
Date: Wed, 31 Jul 2013 16:07:18 +0900 (JST)
Subject: [ruby-changes:30215] naruse:r42267 (trunk): Show /proc/meminfo on NoMemoryError ref #8711
naruse 2013-07-31 16:07:03 +0900 (Wed, 31 Jul 2013) New Revision: 42267 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42267 Log: Show /proc/meminfo on NoMemoryError ref #8711 Modified files: trunk/test/runner.rb Index: test/runner.rb =================================================================== --- test/runner.rb (revision 42266) +++ test/runner.rb (revision 42267) @@ -33,7 +33,6 @@ begin https://github.com/ruby/ruby/blob/trunk/test/runner.rb#L33 rescue NoMemoryError ObjectSpace.count_objects(h) p h - ObjectSpace.count_objects_size(h) - p h + system("cat /proc/meminfo") if File.exist?("/proc/meminfo") raise end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/