Project

General

Profile

Actions

Bug #13846

closed

Openbsd possible memory leak when using Thread

Added by parhs (Coding Gorilla) over 6 years ago. Updated almost 5 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:82502]

Description

On openBSD 5.9/6.1 running this code causes RSS memory to increase without limit. This does not happen in ubuntu or other linux.

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) Screen Shot 2017-08-29 at 11.11.42 AM.png RSS mem plot parhs (Coding Gorilla), 08/29/2017 08:12 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0