Drive will then optimize the garbage collection process to recover space sooner. Since the memory block of an SSD must be erased before it can be reprogrammed, TRIM proactively cleans up invalid data, sparing the SSD the painstaking process of issuing an erase command.