Throw exception when memoryFracton is out of range