1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Show /proc/meminfo on NoMemoryError ref #8711

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2013-07-31 07:07:03 +00:00
parent 444cd6f71a
commit fc3b9361d4

View file

@ -33,7 +33,6 @@ begin
rescue NoMemoryError rescue NoMemoryError
ObjectSpace.count_objects(h) ObjectSpace.count_objects(h)
p h p h
ObjectSpace.count_objects_size(h) system("cat /proc/meminfo") if File.exist?("/proc/meminfo")
p h
raise raise
end end