I have
Eigen::MatrixXd noise(61, 400000);
// I populate the noise matrix
Eigen::MatrixXd chol(61, 61);
// I populate the chol matrix
Eigen::MatrixXd corr_noise(61, 400000);
// i define the corr_noise matrix as above and
// then try to perform the matrix multiplication as below
corr_noise = chol * noise;
I get a bad allocation error.
The computation works if the size of the matrix is smaller say 61 x 5000.
I have 16 GB ram installed and when I see the the memory used in the task manager I see the memory is well below the maximum allowed.
Can someone please give me some pointer as to what is going wrong ?
Thanks in advance.