Shopify/ruby_memcheck: Use Valgrind memcheck on your native gem without going crazy
10-May-2024 480
Valgrind's memcheck is a great tool to find and debug memory issues (e.g. memory leak, use-after-free, etc.). However, it doesn't work well on Ruby because Ruby does not free all of the memory it allocates during shutdown. This results in Valgrind reporting thousands (or more) false positives, making it very difficult for Valgrind to actually be useful. This gem solves the problem by using heuristics to filter out false positives.
Shopify/ruby_memcheck: Use Valgrind memcheck on your native gem without going crazy #ruby #rubydeveloper #rubyonrails #Shopify/ruby_memcheck: #Valgrind #memcheck #native #without #going #crazy #gem #shopify/ruby_memcheck: https://rubyonrails.ba/link/shopify-ruby_memcheck-use-valgrind-memcheck-on-your-native-gem-without-going-crazy