From: kadmos@gmail.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:82502] [Ruby trunk Bug#13846] Openbsd possible memory leak when using Thread
Date: Tue, 29 Aug 2017 08:14:45 +0000 (UTC) [thread overview]
Message-ID: <redmine.issue-13846.20170829081444.c94e3f7b3a48ac1e@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-13846.20170829081444@ruby-lang.org
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/
next parent reply other threads:[~2017-08-29 8:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <redmine.issue-13846.20170829081444@ruby-lang.org>
2017-08-29 8:14 ` kadmos [this message]
2017-08-29 14:15 ` [ruby-core:82513] [Ruby trunk Bug#13846] Openbsd possible memory leak when using Thread merch-redmine
2017-08-29 18:40 ` [ruby-core:82517] " kadmos
2017-09-07 0:19 ` [ruby-core:82685] " xkernigh
2019-05-25 1:13 ` [ruby-core:92837] " merch-redmine
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.ruby-lang.org/en/community/mailing-lists/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.issue-13846.20170829081444.c94e3f7b3a48ac1e@ruby-lang.org \
--to=ruby-core@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).