I'm also seeing crashes which seem related to file size. I'm using the QY268C, which uses the same sensor.
Latest Stable build, using auto-debayer and auto-compute HFR (so I can see these values for focus monitoring).
I suspect the persisting speed of the captured data is slower than the incoming capture data rate in some cases. The USB memory buffer is set to 256M, but your cameras are producing very large file sizes. If this buffer fills before the image is persisted, there is only room for 1 or 2 images in memory.
To verify this, try running this just before a capture session `sudo echo 512 > /sys/module/usbcore/parameters/usbfs_memory_mb` . If that gives you more frames captured before crashing, then you may have an overrun. This doesn't fix the problem, but may show where the problem is, and you will want to find a faster way to persist the image data.
12" pier with HDX110 using EQMod
ASI 1600 mono/color mains with ASI290MM in off-axis
ASI filter wheel
Moonlite focusers for the sharpening
AT115EDT w/.8x for the light
Fedora Linux, 100% INDI
I just got my ASI2600MC.
Had 4 successful sessions with INDI running on RPI4 (latest SM stable) and KStars/Ekos on Windows client.
Tonight, however, I ran into this very problem.
Running everything on RPI4.
After 2-3 frames it crashes consistently with a "unable to allocate memory for temporary bayer buffer: std::bad_alloc" message
RPI 4 B (4Gb) with SMate
Nikon D5500 H-a modified. Nikon D5500 stock
Askar FRA400, TPO RC6
ZWO ASI120MM Mini on ZWO 30F4
ZWO ASI224MC-S on Orion 50 mm f/3.2
ZWO EAF x 2
I've been having horrible results with EKOS and my ASI2600MC for over a year. I keep hoping software updates will fix it, but all of my imaging sessions are ruined by the PI crashing. I have un-selected debayering in EKOS FITS setup, and it still crashes. Sometimes after taking one frame, sometimes after taking a few.
Very frustrating... I had a ticket opened about this a while back, and some beta fixes were loaded onto my Stellarmate, but it didn't really help.
You've tried to help me too a number of times over the past year with the exact same issue with ASI2600MC Pro. Unfortunately still not working here either, always random crashes still - from the debayer error to Kstars just crashing and restarting after a sub is attempted. It's strange that it all appears so random. Same now too on this latest version - upgraded from new image of recently downloaded 1.5.9 -> 1.6.0 w/KStars Stable release 2021-9-30 (rpi4 8gb)
I wish I could get this to work for me. Any hints?