Error when reading a file from a google bucket in hail on a google machine

How did you invoke python/ipython? You probably need to tell Hail to use all the RAM available. Change 8g in that answer to something like 3500g.