Project

General

Profile

Bug #11174 ยป thread_memleak4.rb

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

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