garbage collection

The operating system process of reclaiming used memory blocks. The operating system deallocates blocks of memory that were once allocated but are no longer in use. It also gathers scattered blocks of free memory into larger contiguous free blocks.