From: kadmos@... Date: 2017-08-29T08:14:45+00:00 Subject: [ruby-core:82502] [Ruby trunk Bug#13846] Openbsd possible memory leak when using Thread Issue #13846 has been reported by parhs (Gibon M). ---------------------------------------- Bug #13846: Openbsd possible memory leak when using Thread https://bugs.ruby-lang.org/issues/13846 * Author: parhs (Gibon M) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: 2.3.4 * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- On openBSD 5.9 running this code causes RSS memory to increase without limit. This does not happen in ubuntu or other linux. ~~~ ruby loop do thr = Thread.new { puts "thread test" } thr.join GC.start end ~~~ This is related to other things too, like when calling Open3.* , virtually everything that is using threads... I have attached a screenshot with RSS memory plot I did. ---Files-------------------------------- Screen Shot 2017-08-29 at 11.11.42 AM.png (51.7 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: