JinghaoLu / MIN1PIPE

A MINiscope 1-photon-based Calcium Imaging Signal Extraction PIPEline.
GNU General Public License v3.0
56 stars 25 forks source link

changed unix memory check from free to available memory #29

Closed plodocus closed 4 years ago

plodocus commented 4 years ago

Hi JinghaoLu,

on our system we got a very large nbatch which made idbatch in frame_stab() have more than 1 entry of 0, resulting in an error when indexing into m.reg. This was caused by batch_compute() checking the free memory which happened to be 500 MB. However, on Linux free memory is not available memory. See: https://www.linuxatemyram.com/

Might be related to #25