The following errors can arise during allocation or deallocation of data space.
If the relevant ALLOCATE or DEALLOCATE includes a STAT = specifier, then an occurrence of any of the errors below will cause the STAT variable to become defined with the corresponding error number, instead of the error message being produced.
In the error messages, vartype is
array |
a pointer to an array, an allocatable array, or a temporary array |
character scalar |
a pointer to a character scalar, an automatic character scalar, or a temporary character scalar |
pointer |
a pointer to a non-character scalar |
Error |
Message |
491 |
vartype is already allocated. |
492 |
vartype is not allocated. |
493 |
vartype was not created by ALLOCATE. |
494 |
Allocation of nnn bytes failed |
495 |
Heap initialization failed. |