[#69084] [Ruby trunk - Feature #11124] [Open] [PATCH] lib/*: use monotonic clock for timeouts — normalperson@...
Issue #11124 has been reported by Eric Wong.
5 messages
2015/05/06
[#69138] [Ruby trunk - Feature #11136] [PATCH] webrick: avoid fcntl module — nobu@...
Issue #11136 has been updated by Nobuyoshi Nakada.
3 messages
2015/05/12
[#69160] [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start — nobu@...
Issue #11146 has been updated by Nobuyoshi Nakada.
4 messages
2015/05/13
[#69175] Re: [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start
— Eric Wong <normalperson@...>
2015/05/13
nobu@ruby-lang.org wrote:
[ruby-core:69342] [Ruby trunk - Bug #11175] [Open] possible fibers memory leak or risky GC behavior
From:
from-ruby-lang@...
Date:
2015-05-23 21:28:41 UTC
List:
ruby-core #69342
Issue #11175 has been reported by Cyril Vechera.
----------------------------------------
Bug #11175: possible fibers memory leak or risky GC behavior
https://bugs.ruby-lang.org/issues/11175
* Author: Cyril Vechera
* Status: Open
* Priority: Normal
* Assignee:
* ruby -v:
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
There's strong memory growth on mass Fiber creation/deletion.
Script to demonstrate the problem (on x86_64-linux):
~~~
loop {
10000.times.map { Fiber.new { } }
GC.start # not necessary, just to be sure
puts File.open('/proc/self/status').grep(/VmRSS:/).first
}
~~~
Running this script shows RSS growing from 57 Mb to 1Gb within one minute. Than RSS remains in range from 850 Mb to 1200 Mb.
~~~
cv@new-cv:~/arena$ ruby fiber_memleak.rb
VmRSS: 57168 kB
VmRSS: 121668 kB
VmRSS: 183568 kB
...
VmRSS: 1114664 kB
VmRSS: 1122624 kB
~~~
---Files--------------------------------
fiber_memleak.rb (146 Bytes)
--
https://bugs.ruby-lang.org/