New limit to data size in XCode 15?

I am coding in C using XCode, and I have recently upgraded to XCode 15.0. The target is a command line program in Terminal.

My code uses more than 20 very large arrays, for example 35000x20000 of int.

This was never an issue in the previous version of XCode, but now my code crashes with EXC_BAD_ACCESS.

When I reduce the size of the arrays to 4500x4500, the code runs fine. At this size, the activity monitor says my program needs about 930MB of memory. If I increase the size of the arrays by a small amount, the code crashes again. It seems like XCode is not allowing my code more than 1GB of memory.

Unfortunately, my application needs the very large arrays.

I have tried Googling the problem, read the release notes and looked for an answer on stackoverflow, but without success.

My MacBook is 64 bit with 64GB memory running Sonoma 14.0.

Thanks for any pointers! (Is there a compiler option for increasing memory?)

New limit to data size in XCode 15?
 
 
Q