Project

General

Profile

Bug #22487 » repro_fragmented.rb

watson1978 (Shizuo Fujita), 10/29/2026 08:56 AM

 
strings = Array.new(3500) { String.new(capacity: 4096) }
kept = strings.each_slice(2).map(&:first)
strings = nil
require_relative "repro"
kept.size
(4-4/4)