← Graph

Ruby memory retention behavior

concept 2 connections

Ruby's garbage collector reclaims objects inside the Ruby heap but does not shrink the process by returning memory to the operating system. As a consequence, measuring RSS over time shows a process that only grows or plateaus — making it impossible to distinguish a true memory leak from memory bloat by looking at OS-level memory alone. Hence the need for heap-dump-based analysis.

category
architecture
about
Ruby memory retention behavior concept
Explains that Ruby does not return freed memory to the OS, complicating leak diagnosis.
concept Ruby memory retention behavior
related_to
Ruby tool
Behavior specific to MRI Ruby's garbage collector and heap management.

Provenance

Read by
4 extractions