Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 161 Bytes
#!/usr/bin/ruby
class MyObject
def initialize(i)
@i = i
end
end
puts Process.pid
n = 10000
loop do
(n+=1).times {|i| MyObject.new(i)}
GC.start
end