5.3.4.9 How Can I Define a Large Array?

By default, arrays are allocated 32K of memory. If you need more, you can use the compiler option -mlarge-arrays, remembering that there will be a memory cost. For more on the option, see the following section of this user’s guide:

Non-Auto Variable Allocation and Access, “Non-Auto Variable Size Limits”.