Raised when an operation runs out of memory. The interpreter may be in an inconsistent state when this is raised; recovery is difficult.
MemoryError
python Raised when an operation runs out of memory. The interpreter may be in an inconsistent state when this is raised; recovery is difficult.