Informix Error -9478: VM too low on memory: (%s) bytes left.
Cause and resolution
VM too low on memory: (%s) bytes left.
There is insufficient memory to start a new instance of a Java UDR. Reduce the number of session connected to the Java virtual processor (VP) or terminate the resource-intensive Java computations.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-9478 fires when there's insufficient memory to start a new instance of a Java UDR — per the official guidance.
- Too many sessions connected to the JVP, per the official guidance — the first named cause.
- Resource-intensive Java computations consuming the VM's memory, per the official guidance — the second named cause.
Solutions / Resolution
- Reduce the number of sessions connected to the JVP, per the official guidance.
- Terminate the resource-intensive Java computations, per the official guidance.
Examples
Checking JVP session count
$ onstat -g ses | grep -i java
Diagnostic Checks
- Check the number of sessions connected to the JVP and any long-running/heavy Java UDRs, and reduce load accordingly.
Related Errors / Related Topics
- -9425 — "Internal error with the Java memory pool." A related Java-memory error, on pool corruption rather than outright exhaustion.
The JVP was too low on memory to start a new Java UDR instance — reduce connected sessions or terminate heavy Java computations.