2023-01-03 rubyのメモリ周りのメモ ruby 記事もろもろ techracho.bpsinc.jp www.joyfulbikeshedding.com techlife.cookpad.com jemallocに関するチケット bugs.ruby-lang.org malloc_trim(0)に関するチケット bugs.ruby-lang.org その他 ld(1)の --as-needed がデフォルトになった影響でSEGVする場合の対応 thatsdone-j.blogspot.com bugs.ruby-lang.org bugs.ruby-lang.org github.com LDFLAGS="-Wl,--no-as-needed" RUBY_CONFIGURE_OPTS="--disable-install-doc --enable-shared --with-jemalloc" こんな感じでオプション設定が必要 ruby 3系であればパッチがあたっている模様