A single Union structure is limited to 16 Mb (16,777,216 bytes). Locally dimensioned Union structures are limited to the amount of free stack space available, typically less than 1 Mb. If larger UDT structures are required, use a STATIC or GLOBAL declaration instead, since these are not created on the stack. The same rules apply to User-Defined Types (and LOCAL fixed-length and ASCIIZ strings). An individual array within a Union may occupy as much as the full 16 Mb Union size limit.
See Also