SRAM overflow

If it's sensitive to the length of time spent doing the calibration then I think you are only just running out of memory. Did you try the suggestions I made in reply #4 ? They are all very easy to implement.