flimfit / FLIMfit

State of the art fluorescence lifetime imaging analysis software
http://flimfit.org
GNU General Public License v2.0
23 stars 14 forks source link

Need better error handling for full hard disk #263

Open Fredxxx opened 8 years ago

Fredxxx commented 8 years ago

Hey,

when I am using the version Sean sent me (4.11.2-14-g73a5395) I cannot load plate data. The loading bar occurs and I think it is loading all of the data. But close before it is reaching the 100% the error message below occurs. This is reproducible and I tried two different data sets. The data set is not bigger than the usual data sets analysed before. Additionally, the error (#236) reported from me quite a while ago is still not fixed.

Best wishes Frederik

If you are searching the data you can find them on the fogim server: \ph-nas-04.ph.ic.ac.uk\fogim_datastore\User data\Frederik Gorlitz\Platereader\20160821 (Dye plate alternating)

Error using memmapfile/hCreateMap (line 307)
File "C:\Users\fpg13\AppData\Local\Temp\5\GPTEMP_tp43427301_ef0e_4658_a74b_5731e37ea00a" is not large enough to map with the current format, offset, and repeat values.

Error in memmapfile/subsref (line 779)

Error in flim_data_series/init_memory_mapping (line 85)

Error in flim_data_series/load_selected_files (line 114)

Error in flim_data_series/load_multiple (line 114)

Error in flim_data_series/load_data_series (line 150)

Error in flim_data_series_controller/load_data_series (line 105)

Error in front_end_menu_controller/menu_file_load_tcspc_callback (line 689)

Error in front_end_menu_controller>@(varargin)obj.menu_file_load_tcspc_callback(varargin{:})

Error in escaped_callback (line 7)

Error in front_end_menu_controller>@(x,y)escaped_callback(x,y,fcn) (line 261)

imunro commented 8 years ago

Hi Fred that looks at first glance like a disk space issue.

Fredxxx commented 8 years ago

Agree, because I cannot load it with version 4.9.2 either.

Just checked that Stina is using 20GB and as906 (who is that?) 26GB of memory of terminalSix. Nevertheless, I should have around 10GB free and my data is smaller than 3GB. Is FLIMfit checking if it does have enough space for the calculation or why is that? It would be great if a nice error message would pop up telling you the memory is not big enough.

Best wishes Frederik

imunro commented 8 years ago

FLIMfit copies the data to a temporary file for processing and it looks like it can't create a large enough temp file as there isn't enough free disk space. Can you delete some files from c: ?? Yeah a better error handling would be nice- I'll have a look next week if I can.

Fredxxx commented 8 years ago

Got it, year I will try to make some space in C:. Thanks!

imunro commented 8 years ago

I'm guessing here so let me know if it doesn't work.

Fredxxx commented 8 years ago

Absolutly correct. Everything is working now, thanks.

imunro commented 8 years ago

Keeping this one open to remind me to add better error handling.