Informix Error -50051: Not enough memory for return string.
Cause and resolution
Not enough memory for return string.
This message is generated by ixMsgFile::readMsg(). The system cannot allocate enough memory to make a string to store the value that is read from the message file. Reduce either the size of the program or the length of the message.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50051 fires in the GUI builder ("Window Painter") class library -- per the official guidance: This message is generated by ixMsgFile::readMsg(). The system cannot allocate enough memory to make a string to store the value that is read from the message file. Reduce either the size of the program or the length of the message.
- Not enough memory for return string -- an invalid argument, state, or NULL value
reaching
ixMsgFile::readMsg(), per the official guidance.
Solutions / Resolution
- Review the application's call to
ixMsgFile::readMsg()against the condition described above, and correct the argument, object state, or configuration involved, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond the GUI builder class library condition named in the official text.
Diagnostic Checks
- Check the application's use of
ixMsgFile::readMsg(), against the specific condition the official text describes.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -50051 in this set yet.
Not enough memory for return string.