Make sure you have enough disk space to do the building. Also, could you provide more information? Like which OS are you using and if you are using proxies.
And also, how much RAM and how many CPUs/vCPUs do you have and what's in your yocto_build/conf/local.conf dir - default settings may be too demanding for weaker configurations.
And BTW, you have to change the target name too, it's "image-full-galileo"