Adding check_memory_swap_free