The dRuby Book

Chapter 11
Handling Garbage Collection

In Ruby, garbage collection (GC) automatically clears out unnecessary objects. GC collects clutter during process execution time, but this causes a bit of a problem when the system is composed of multiple processes, as happens when using dRuby. In this chapter, we’ll discuss how dRuby handles GC.