Project

General

Profile

Bug #11174 ยป thread_memleak4.rb

cvss (Kirill Vechera), 05/23/2015 09:14 PM

 
loop {
10.times { 1000.times.map { Thread.new { } }.each(&:join) }
GC.start
puts File.open('/proc/self/status').grep(/VmRSS:/).first
}
    (1-1/1)