[#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:69420] [Ruby trunk - Bug #11200] [Open] Memory leak of method entries
From:
ko1@...
Date:
2015-05-30 14:16:17 UTC
List:
ruby-core #69420
Issue #11200 has been reported by Koichi Sasada.
----------------------------------------
Bug #11200: Memory leak of method entries
https://bugs.ruby-lang.org/issues/11200
* Author: Koichi Sasada
* Status: Open
* Priority: Normal
* Assignee: Koichi Sasada
* ruby -v: 2.3dev
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
```ruby
def recur
Class.new{
define_method(:foo) do
recur
end
}.new.foo
end
begin
recur
rescue SystemStackError
retry
end
```
This program increase memory consumption because method entries in method frames (running method entries) are not freed when classes/modules are freed.
I will solve this issue by changing method frame data structures soon.
However, it will be very big change, it is difficult to apply 2.2 and before.
It is very rare case, so I don't think it is critical issue to fix older versions.
--
https://bugs.ruby-lang.org/