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/