Change the trigger condition of garbage collection