double anArray[29][9][45][45][45]
multi_array
The size of the array is about 190MB, which greatly exceeds the default stack size of operational environment (10 MB). So it is not good to use the regular array here. And we must use the boost::multi_array which allocates the memory on the heap
No comments:
Post a Comment