Informix Error -1319
-1319 The 4GL program has run out of runtime data space memory.
You must reduce the data space that the program requires. Review the size of large character variables and the dimensions of arrays. You might need to split the program into separate programs that load separately, if that is possible.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-1319 fires when a 4GL program exhausts its runtime data space memory — per the official guidance, this is the general data-space-exhaustion error and, per -1113/-1137/-1145's own official text ("For 4GL programs, -1319 replaces this error"), it replaces those three older, more specific memory-related messages on newer 4GL versions. -1158 is a related but distinct memory error, specific to the FMP (4GL/RF) runtime facility rather than one -1319 is documented as superseding.
- Large character variables consuming excessive data space, per the official guidance's named review point.
- Large array dimensions, per the official guidance's other named review point.
- A program simply too large to fit its runtime data space as a single unit, per the official guidance's suggested structural fix.
Solutions / Resolution
- Reduce the data space requirements of the program, per the official guidance — review the size of large character variables and array dimensions.
- Split the program into separate programs that load independently, per the official guidance, if reducing data space directly isn't feasible.
Examples
Reviewing large variables and arrays
DEFINE v_buffer CHAR(30000);
DEFINE v_records ARRAY[10000] OF RECORD
...
END RECORD;
-- review whether v_buffer and v_records' sizes are actually necessary
Diagnostic Checks
- Review the program's large character variables and array dimensions for opportunities to shrink them.
- Consider whether the program can be split into independently-loaded modules.
Related Errors / Related Topics
- -1113 — "Memory allocation error." A related memory error, specific to
BYTE/TEXTvariable assignment. - -1137 — "Cannot open window." A related memory error, specific to window opening.
- -1145 — "Cannot open ERROR window." A related memory error, specific to the runtime's own error-display window.
- -1158 — "FMP has run out of memory." A related but distinct memory error, specific to the FMP (4GL/RF) runtime facility — not one -1319 is documented as superseding.
The 4GL program's data space is exhausted — reduce large variables/arrays, or split the program into independently-loaded modules.