[LRUG] PSA: memory leak in Ruby 3.0.2

Frederick Cheung frederick.cheung at gmail.com
Sun Aug 8 10:40:57 PDT 2021


Hopefully saving someone else’s afternoon… 3.0.2 introduced a memory leak in Hash#transform_keys! ( https://bugs.ruby-lang.org/issues/18065 ). 

This gets used all over the place in rails (symbolize_keys! uses it for example) so hard to avoid tripping over this in a rails app if you are on 3.0.2

Fred
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20210808/5f0ef607/attachment.html>


More information about the Chat mailing list