General

Profile

jrafanie (Joe Rafaniello)

  • Login: jrafanie
  • Registered on: 11/20/2014
  • Last sign in: 09/14/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 5 6

Activity

11/11/2024

02:42 AM Ruby Revision 25252677 (git): [ruby/uri] Fix minor typo from
https://github.com/ruby/uri/commit/9997c1acee
https://github.com/ruby/uri/commit/c191b627cb
jrafanie (Joe Rafaniello)

02/13/2018

05:14 PM Ruby Bug #14471 (Closed): DRb mixing up function return values between PIDs after fork()
This is likely a duplicate of https://bugs.ruby-lang.org/issues/2718, although the Backport191 project in redmine appears to be dead.
We have found the exact same problem with modern rubies such as 2.3, 2.4, 2.5.
The summary is t...
jrafanie (Joe Rafaniello)

01/31/2018

03:06 PM Ruby Bug #14424: Backport r59984 to ruby_2_4 and ruby_2_3
Thank you! jrafanie (Joe Rafaniello)

01/30/2018

06:56 PM Ruby Bug #14372: Memory leak in require with Pathnames in the $LOAD_PATH in 2.3/2.4
I opened a backport bug so we can have this memory leak fixed in ruby 2.3 and 2.4:
https://bugs.ruby-lang.org/issues/14424
jrafanie (Joe Rafaniello)
06:55 PM Ruby Bug #14424 (Closed): Backport r59984 to ruby_2_4 and ruby_2_3
Please backport r59984, https://bugs.ruby-lang.org/issues/10222.
There is a memory leak in ruby 2.3 and 2.4 described here: https://bugs.ruby-lang.org/issues/14372
This backport will require backporting other changes to apply thi...
jrafanie (Joe Rafaniello)

01/26/2018

05:19 PM Ruby Bug #14372: Memory leak in require with Pathnames in the $LOAD_PATH in 2.3/2.4
Because `Rails.root` is a `Pathname`, it's a fairly common for developers to use Rails.root.join("lib") or something similar in their autoload_paths or eager_load_paths, both of which end up in the $LOAD_PATH and lead to a leak on each c... jrafanie (Joe Rafaniello)

01/18/2018

09:34 PM Ruby Bug #14372: Memory leak in require with Pathnames in the $LOAD_PATH in 2.3/2.4
I did a small change to see how the number of Pathnames in the `$LOAD_PATH` changes the leak amount at the script's completion.
It looks like the memory leak is linear:
1 74.6 MB
2 149.5 MB
3 214 MB
4 290 MB
5 353.6 MB
9 575.4 ...
jrafanie (Joe Rafaniello)
05:16 PM Ruby Bug #14372: Memory leak in require with Pathnames in the $LOAD_PATH in 2.3/2.4
It's worth mentioning that more `Pathname` objects in the `$LOAD_PATH` may make this leak worse as even on ruby 2.5.0, the time for require increases with each added Pathname to the `$LOAD_PATH`. jrafanie (Joe Rafaniello)
04:57 PM Ruby Bug #14372 (Closed): Memory leak in require with Pathnames in the $LOAD_PATH in 2.3/2.4
There is a memory leak that we have found on ruby 2.3.6 and 2.4.3 that happens on Mac OSX and Linux. Ruby 2.2.6 and 2.5.0 do not leak. We have not tested other platforms.
If `$LOAD_PATH` contains one or more Pathname objects, `requi...
jrafanie (Joe Rafaniello)

09/14/2017

05:31 PM Ruby Bug #13772: Memory leak recycling stacks for threads in 2.4.1
perlun (Per Lundberg) wrote:
> This bug unfortunately prevents my organization from using 2.4.1 at the moment, we will have to downgrade to 2.3.4. Is there any chance we could get a bug fix release (2.4.2) out including this fix, in the...
jrafanie (Joe Rafaniello)

Also available in: Atom