Informix Error -2943: You have exceeded the pseudo machine capacity.
Cause and resolution
You have exceeded the pseudo machine capacity.
The expression in this statement is too complex to process. Simplify it, and recompile the form. (See also error message -2988.)
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-2943 fires when an expression in the form specification is too complex for the form compiler's internal pseudo-machine to process — per the official guidance, the official text also cross-references error -2988 as a related capacity limit.
- An overly complex expression somewhere in the form specification, per the official guidance — the direct, only cause.
Solutions / Resolution
- Simplify the expression, and recompile the form, per the official guidance.
Examples
An overly complex expression
INSTRUCTIONS
AFTER QUERY OF orders
LET total = (a+b)*(c-d)/(e+f)*(g-h)/(i+j)*(k-l)/(m+n)*(o-p)/(q+r)*(s-t);
END
END
-- -2943: too many nested operations for the compiler's pseudo-machine
Corrected
Break the expression into intermediate steps handled elsewhere (e.g. computed in the underlying query or 4GL code) rather than as one deeply nested form expression.
Diagnostic Checks
- Check the form specification for unusually long or deeply nested expressions, and simplify them.
Related Errors / Related Topics
- -2988 — cross-referenced directly in -2943's own official guidance ("See also error message -2988") as a related pseudo-machine capacity limit.
An expression is too complex for the form compiler's pseudo-machine — simplify it and recompile. See also -2988.