Informix Error -1795: The number of chunks specified in shared memory, num_chunks, is too large.
Cause and resolution
The number of chunks specified in shared memory, num_chunks, is too large.
The maximum allowable number with the current configuration is num_chunks. Specify larger chunk sizes, and reduce the number of chunks.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-1795 fires when the configured number of chunks exceeds what the current shared-memory configuration can accommodate — per the official guidance, the message itself reports both the requested count and the actual maximum allowed.
- Too many small chunks configured, per the official guidance's framing — the shared-memory structures tracking chunks have a maximum count for the current configuration.
Solutions / Resolution
- Specify larger chunk sizes, per the official guidance, so fewer chunks are needed for the same total storage.
- Reduce the number of chunks, per the official guidance, consolidating storage into fewer, larger chunks.
Examples
N/A
No specific triggering statement is documented — the -1795 message itself reports the requested and maximum chunk counts.
Diagnostic Checks
- Read the requested vs. maximum chunk count from the -1795 message text, and plan a consolidation into fewer, larger chunks.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -1795 in this set yet.
Too many chunks for the current shared-memory configuration — use larger chunk sizes and fewer of them.