KiloSort icon indicating copy to clipboard operation
KiloSort copied to clipboard

Out of memory @fread headstage data

Open Bionerdess opened this issue 5 years ago • 0 comments

I'm getting the "out of memory" error when using fread on the headstage data file:

Error using fread Out of memory. Type HELP MEMORY for your options.

Error in RawBin_to_PostKilo_HEADER_NEWTTL_TRIM (line 58) hs = fread(fid,[nchans,inf],'int16=>int16');

58 hs = fread(fid,[nchans,inf],'int16=>int16');

Whenever the session is bigger than 15.5 GB (computer RAM is 16GB). Until we can upgrade the computer, I saw mentions about loading the data in chunks. How do I do that? Would upgrading to kilosort2 be enough?

Bionerdess avatar Feb 10 '20 16:02 Bionerdess