The builds take place in the /tmp folder ,so try increasing the size of that folder.