Remove checkmemory.