cortex-lab / Suite2P

Tools for processing 2P recordings
Other
120 stars 65 forks source link

Error in reg2p: array exceeds maximum array size preference #172

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hi, I want to use suite2p to process a huge data set (1024102416800), which is 33Gb. I run the pipeline and set ops0.doRegistration to be zero to skip registration. I got following errors:

**Error using zeros Requested 1024x1024x16800 (131.3GB) array exceeds maximum array size preference. Creation of arrays greater than this limit may take a long time and cause MATLAB to become unresponsive. See array size limit or preference panel for more information.

Error in reg2P (line 399) imgdata = zeros(Ly,Lx,numel(info));

Error in run_pipeline (line 38) ops1 = reg2P(ops0); % do registration

Error in Step4_suite2p_roi_yuhan (line 117) run_pipeline(db, ops0);**

Is it because my data set is too large to be processed at a time? Is there any good ways to solve it?