| Pathname.absolute?('/a/b/c/etc') makes recursively smaller copies of the path, e.g. '/a/b/c', '/a/b', '/a', '', which leads to excessive numbers of temporary strings. Pathname was fixed upstream and that was included in ruby 3.0, but it would be good to apply the same to our 2.x builds: See https://github.com/ruby/ruby/commit/39312cf4d6c2ab3f07d688ad1a467c8f84b58db0 |