Informix Error -50127: Resources to allocate an object were unavailable.
Cause and resolution
Resources to allocate an object were unavailable.
This message is generated by any of the following: ixApp, ixBox, ixButton, ixCheckBox, ixFrame, ixLabel, ixLine, ixListBox, ixMenu, ixPictureButton, ixRadioButton, ixSuperField, ixSuprTable, ixTextBox, ixWindow. This is usually caused by running out of memory to contain a newly created object, though in rare circumstances other system errors, such as I/O problems, can cause this condition. The best solution is to try to reduce the resource requirements of your program, especially its memory needs.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50127 is raised by the ixApp class in the Window Painter GUI builder library — per the official guidance:
This message is generated by any of the following: ixApp, ixBox, ixButton, ixCheckBox, ixFrame, ixLabel, ixLine, ixListBox, ixMenu, ixPictureButton, ixRadioButton, ixSuperField, ixSuprTable, ixTextBox, ixWindow. This is usually caused by running out of memory to contain a newly created object, though in rare circumstances other system errors, such as I/O problems, can cause this condition. The best solution is to try to reduce the resource requirements of your program, especially its memory needs.
- Resources to allocate an object were unavailable, per the official guidance — the direct, documented condition.
Solutions / Resolution
- The best solution is to try to reduce the resource requirements of your program, especially its memory needs., per the official guidance — the documented remedy.
Examples
N/A
No specific triggering statement is documented beyond the class-library condition described above.
Diagnostic Checks
- Check the specific value, object state, or call sequence that
ixAppflags here, against the constraint the official guidance describes.
Related Errors / Related Topics
- -50131 — "Display buffer is full - clear it?" Another
ixApp-related condition in this set. - -50130 — "An attempt was made to close a window while a modal popup window contained by it was still being shown. This is not allowed; close the modal popup window first." Another
ixApp-related condition in this set.
Resources to allocate an object were unavailable.