You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had an experiment with six conditions, each of which had 40 trials.
When I ran RSA model with fMRISearchLight().
Matlab showed the error message "Requested 240x240x54x64x50 (74.2GB) array exceeds maximum array size preference". So, I tried two things:
First, I unchecked "limit the maximun array size preference" and reran the script, which still led to matlab crash.
Second, I modified my model so it evaluates one condition at a time. specifically, the 240240 matrix of the model was reduced to 40240. However, I still got the same error message.
Any help on this issue is appreciated. Thanks.
Best,
Veda
The text was updated successfully, but these errors were encountered:
not sure you solved this actually, but this seems like the size of the searchlightRDMs array that matlab is trying to pre-allocate is very large. by the numbers you submit, it sounds like the code thinks that you have 240 conditions (and not 6 like you mention). It tries to create a searchlightRDMs structure of 240x240 x dimx x dimy x dimz, and complains that you don't have enough RAM on your computer to do so.
(dimx = nvoxels in x, dimy = nvovels in y, etc.)
Hello RSA Experts,
I had an experiment with six conditions, each of which had 40 trials.
When I ran RSA model with fMRISearchLight().
Matlab showed the error message "Requested 240x240x54x64x50 (74.2GB) array exceeds maximum array size preference". So, I tried two things:
First, I unchecked "limit the maximun array size preference" and reran the script, which still led to matlab crash.
Second, I modified my model so it evaluates one condition at a time. specifically, the 240240 matrix of the model was reduced to 40240. However, I still got the same error message.
Any help on this issue is appreciated. Thanks.
Best,
Veda
The text was updated successfully, but these errors were encountered: