Informix Error -50135: Cannot insert more than 16382 elements into an ixVector on Windows.
Cause and resolution
Cannot insert more than 16382 elements into an ixVector on Windows.
This message is generated by ixVector. Vectors on the MS Windows can hold only 16K items, due to memory segment limitations. If you encounter this limit, try modifying your application so that it uses smaller vectors.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50135 is raised by the ixVector class in the Window Painter GUI builder library — per the official guidance:
This message is generated by ixVector. Vectors on the MS Windows can hold only 16K items, due to memory segment limitations. If you encounter this limit, try modifying your application so that it uses smaller vectors.
- Cannot insert more than 16382 elements into an ixVector on Windows, per the official guidance — the direct, documented condition.
Solutions / Resolution
- Adjust the calling code to respect the constraint named in the message, per the official guidance — no other resolution is documented.
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
ixVectorflags here, against the constraint the official guidance describes.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -50135 in this set yet.
Cannot insert more than 16382 elements into an ixVector on Windows.