Ever debugged a memory leak at 3 AM? Chances are you did and that’s why you’re reading this (or perhaps you just like self-inflicting pain).
Memory management can be a real headache if not understood properly. We’ll start with a brief overview of manual memory management followed by a detailed discussion about Ruby’s GC.
(more…)