diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-31 07:07:03 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-31 07:07:03 +0000 |
commit | fc3b9361d486f24b134af595538d4f156c5ec757 (patch) | |
tree | 94d7eb6b4e23ee056f611af7270d0ecb199b3e43 /test | |
parent | 444cd6f71abda2ff707f3b984c25bfcdbb5115bd (diff) |
Show /proc/meminfo on NoMemoryError ref #8711
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/runner.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/runner.rb b/test/runner.rb index cbfa1d92b6..1f8ef83d2c 100644 --- a/test/runner.rb +++ b/test/runner.rb @@ -33,7 +33,6 @@ begin 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 |