Hitting memory limit converting CMIP6 to numpy array

If lazy rechunking doesn’t work for you, you might want to check out rechunker, which can help create a copy of your data more suited to your analysis.

You might also want to read through this issue, as it is very similar to yours: