-
Notifications
You must be signed in to change notification settings - Fork 7
Resources
Benoit Tigeot edited this page Jul 4, 2023
·
28 revisions
- The Definitive Guide to Ruby Heap Dumps by Richard Schneeman (part 1, part 2)
- How I spent two weeks hunting a memory leak in Ruby by Oleg Dashevskii
- What I Learned About Hunting Memory Leaks in Ruby 2.1 by Peter Wagenet
- How to debug Ruby memory issues by Callum Dryden
- Incremental Garbage Collection in Ruby 2.2 by Koichi Sasada
- Ruby Hacking Guide by many good people
- Demystifying the Ruby GC by Sam Saffron
- Finding a Ruby memory leak using a time analysis by wvengen
- Google doc with Ruby memory Model
- Ruby 2.2.X AWS SDK memory leak by Johan Lundahl
- Ruby 2.1: objspace.so by Aman Gupta
- Ruby Under The Hood: Memory Layout of an Object by Jesus Castello
- The Fastest Way to Generate a Heap Dump on Heroku by Richard Schneeman
- The Limits of Copy-on-write: How Ruby Allocates Memory
- Malloc Can Double Multi-threaded Ruby Program Memory Usage
- Reducing Memory Usage in Ruby by Tenderlove
- Tracking Object Allocation in Ruby by Jesus Castello
- Spying on a Ruby process's memory allocations with eBPF by Julia Evans
- CRuby Memory Slots: See Them, Tweak Them, Make Them Fast by Noah Gibbs
- Speeding up Ruby with Shared Strings by Tenderlove
- The Path[name] to discovering a memory leak in Ruby by Nicholas LaMuro
- Reducing string duplication in Ruby by Sam Saffron
- "Ruby Memory Usage Vocab Explained" by Allison McMillan
- Ruby's external malloc problem by Sam Saffront
- Memory Management in C Extensions β Part 1 (paid)
- How we halved our memory consumption in Rails with jemalloc by Carmen Chung
- Ruby memory, ActiveRecord and Draper by Benoit Tigeot
- Finding Ruby Performance Hotspots via Allocation Stats by Justin Collins
- What causes Ruby memory bloat? by Hongli Lai
- Benchmarks for GC Compactor by Aaron Patterson
- Instance Variable Performance by Aaron Patterson
- Why does my App's Memory Use Grow Over Time? by Richard Schneeman
- Tracking a Ruby memory leak in 2021 by Ulysse BUONOMO Ulysse BUONOMO
- Garbage Collection in Ruby by Peter Zhu
- https://github.com/SamSaffron/memory_profiler
- https://github.com/schneems/heapy
- https://github.com/tmm1/rbtrace
- https://github.com/jondot/benchmark-ipsa
- https://github.com/schneems/derailed_benchmarks/
- https://github.com/tmm1/stackprof
- http://tenderlove.github.io/heap-analyzer/
- https://github.com/michaelherold/benchmark-memory
- https://github.com/ko1/allocation_tracer/
- https://github.com/srawlins/allocation_stats
- https://github.com/rbspy/rbspy
- https://github.com/schneems/get_process_mem
- https://github.com/tenderlove/allocation_sampler
- https://github.com/astrofrog/psrecord (see demo here)
- malloc_history on OSX (demo by Tenderlove with R behind to display result as a graph)
- Tool for dumping the ptmalloc2 heap into a file
- https://github.com/DmitryTsepelev/io_monitor
- Demonstrates that a non-retained object is sometimes still present in the heap
- Documenting Ruby memory model
- Decreased Object Allocation in Pathname.rb
- Derailed benchmark explanations
- libgit2/rugged - Memory leak caused by diffs?
Youtube video playlist : https://www.youtube.com/playlist?list=PLXvaGTBVk36uIVBGKI72vqd9BFcMmPFI7