Project
General
Profile
Sign in
Register
Home
Projects
Help
Ruby
All Projects
Ruby
Overview
Activity
Roadmap
Issues
Repository
«
Previous
|
Next
»
Revision fa014681
Added by
ko1 (Koichi Sasada)
over 12 years
ago
ID
fa014681d53931c7f81489f94e141257f3da5693
Parent
79d9c8ac
Child
9860c846
gc.c (unlink_heap_slot): fix memory leak.
free slot itself at free_heap_slot().
Reproduce-able code is here:
N1 = 100_000; N2 = 1_000_000
N1.times{ary = []; N2.times{ary << ''}}
Maybe this problem is remaining in Ruby 2.0.0.
gc.c (unlink_heap_slot): remove not working code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Loading...
free slot itself at free_heap_slot().
Reproduce-able code is here:
N1 = 100_000; N2 = 1_000_000
N1.times{ary = []; N2.times{ary << ''}}
Maybe this problem is remaining in Ruby 2.0.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e