throw exception if key or value estimators aren't provided when using a memory limit