OTB 9 / Qgis 3.34 : 'GenericRegionMerging' memory problem

I was having similar issues back in 2021. I find the algorithm works fine for Sentinel 2 imagery or smaller areas of high resolution imagery. It tends to fall on bigger areas of high resolution imagery 'LargeScaleMeanShift' has failed with a return status -1