Change the free & used memory usage collect function