From: "matteo.folin@... (Matteo Folin) via ruby-core" Date: 2026-10-19T14:52:28+00:00 Subject: [ruby-core:127172] [Ruby Bug#22454] exited Ractors' memory is reclaimed only by a global GC, so memory grows without bound. Issue #22454 has been reported by matteo.folin@gmail.com (Matteo Folin). ---------------------------------------- Bug #22454: exited Ractors' memory is reclaimed only by a global GC, so memory grows without bound. https://bugs.ruby-lang.org/issues/22454 * Author: matteo.folin@gmail.com (Matteo Folin) * Status: Open * ruby -v: 4.1.0-preview1 * Backport: 3.3: UNKNOWN, 3.4: UNKNOWN, 4.0: UNKNOWN ---------------------------------------- - 8 rounds of 1,000 short-lived Ractors on 4.1.0-preview1: RSS climbs from 159 MB to 1,125 MB, with a single global GC. - With a GC.start after each round, it stops at ~435 MB. - On 4.0.7 it stays at 34���44 MB. - It tells the server story: OOM-killed in 8 GB once the first sockets closed. - It asks for a trigger based on the exited Ractors still waiting to be reclaimed, and notes that even 435 MB is ~10�� 4.0's figure. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/