prohibit to run freeMemoryIfNeed when it is slave