sigdump
sigdump copied to clipboard
Timeout ObjectSpace.each_object after 3 minutes
ObjectSpace.each_object
loop takes very long time if there're large
number of objects. It's not good idea to not show report for long time
and keep consuming CPU.
This change adds timeout to avoid the problem.
Hopefully, fixes #6.