The problem is that the array is so big it causes the visdual studio compiler to fail due to lack of heap space. You can try to make adjustments to the compiler settings to make more heap space available.
In "Code generation" configuration settings, expand the "Tool chain details" array to see all flags used to compile and link the genrated code. You can try adding the /Zm switch to the compiler as described here. https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/fatal-error-c1060?view=vs-2019