more memory and plan allocation checking