if you have 32GB you can increase the maximum RAM which is used by SNAP to probably 24 as described here: S2 export into tiff - NaturalRGB or Falso color infrared RGB
if you have 32GB you can increase the maximum RAM which is used by SNAP to probably 24 as described here: S2 export into tiff - NaturalRGB or Falso color infrared RGB