Informix Error -3680: PERFORM has run out of memory.
Cause and resolution
PERFORM has run out of memory.
PERFORM cannot get the memory data space it needs. You will have to reduce the complexity of the form.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-3680 fires when PERFORM can't obtain the memory data space it needs at runtime — per the
official guidance, this is a memory-exhaustion condition requiring the form to be simplified.
- A form too complex for
PERFORM's available memory at runtime, per the official guidance — the direct, only cause.
Solutions / Resolution
- Reduce the complexity of the form, per the official guidance.
Examples
Simplifying a memory-heavy form
Split a very large or heavily-joined form into smaller forms, or reduce the number of fields, screens, and joined tables involved, following the same approach as for -2988's compile-time memory exhaustion.
Diagnostic Checks
- Check the overall size and complexity of the form, and simplify it if
PERFORMreports running out of memory.
Related Errors / Related Topics
- -2988 — "FORMBUILD has run out of memory." The equivalent memory-exhaustion condition at compile time, rather than at runtime.
PERFORM ran out of memory running the form — reduce the form's complexity.