I am new to C ++, and I am studying "compression perception", so I need to work with huge matrices, and MATLAB is actually slow, so I programmed my algorithm in C ++.
The fact is that I store large arrays (about 100 MB-1 GB). They make up 20 arrays of approx. and it works great with 30 GB of memory, however, when a process requires more than 40 GB, it just stops. I think this is a memory problem, I tested it on Linux and Windows (64-bit 64-bit processors 64 bit MinGW-200Gb Ram-intel Xeon) are there any restrictions ?.
size_t tm=n*m*l; double *x=new double[tm];
I use about 20 arrays like this. n, m ~ = 1000 and L ~ = 30, which are usually sizes.
thanks
c ++ mingw-w64 dynamic-arrays bad-alloc
Jonathan arley monsalve salaza
source share