IDEX-1119. Added checks for default and recommended memory.