Memory allocation error?

Any clues as to why I have this error? Same error running it twice (cleared out the /process folder inbetween attempts).

18:41:08: Fitsio error reading data, file: light_00044.fit.
18:41:08: FITS error: malloc of initial memory failed (mem_createmem)
18:41:08: FITS error: failed to create empty memory file (compress_open)
18:41:08: FITS error: failed to find or open the following file: (ffopen)
18:41:08: FITS error: D:\C-2022 E3 ZTF\Processing
18:41:08: FITS error: Error reading data buffer from file:
18:41:08: FITS error: light_00044.fit
18:41:08: FITS error: Error reading elements 7675201 thru 7689600 from image (ffgcle).
18:41:08: Could not load image 43 from sequence light_
18:41:30: Saving FITS: file pp_light_00019.fit, 3 layer(s), 4144x2822 pixels
18:41:30: Saving FITS: file pp_light_00049.fit, 3 layer(s), 4144x2822 pixels
18:41:36: Saving FITS: file pp_light_00050.fit, 3 layer(s), 4144x2822 pixels
18:41:39: Saving FITS: file pp_light_00027.fit, 3 layer(s), 4144x2822 pixels
18:41:40: Saving FITS: file pp_light_00014.fit, 3 layer(s), 4144x2822 pixels
18:41:42: Saving FITS: file pp_light_00046.fit, 3 layer(s), 4144x2822 pixels
18:41:43: Saving FITS: file pp_light_00048.fit, 3 layer(s), 4144x2822 pixels
18:41:43: Saving FITS: file pp_light_00051.fit, 3 layer(s), 4144x2822 pixels
18:41:44: Saving FITS: file pp_light_00004.fit, 3 layer(s), 4144x2822 pixels
18:41:44: Saving FITS: file pp_light_00023.fit, 3 layer(s), 4144x2822 pixels
18:41:44: Saving FITS: file pp_light_00009.fit, 3 layer(s), 4144x2822 pixels
18:41:44: Sequence processing failed.
18:41:44: Setting CWD (Current Working Directory) to ‘D:\C-2022 E3 ZTF\Processing’
18:41:44: Script execution failed.
21:06:45: Fitsio error reading data, file: D:\C-2022 E3 ZTF\Processing\process\light_00044.fit.
21:06:45: FITS error: Error reading data buffer from file:
21:06:45: FITS error: D:\C-2022 E3 ZTF\Processing\process\light_00044.fit
21:06:45: FITS error: Error reading elements 7675201 thru 7689600 from image (ffgcle).
21:06:45: FITS error: Error reading data buffer from file:
21:06:45: FITS error: D:\C-2022 E3 ZTF\Processing\process\light_00044.fit
21:06:45: FITS error: Error reading elements 1 thru 11694368 from image (ffgclui).

Thanks!

Hello, we haven’t accounted for the memory needed for compression in our memory allocation calculations, this may be the reason. I’m not sure this is even documented in the FITS library, I’ll have a look.

What memory settings are you using, to be sure? Default?

Thanks