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:
parent
444cd6f71a
commit
fc3b9361d4
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue