Increasing Swap Space
Lately, I've been trying to compile Chromium on my desktop and I had been constantly getting an error associated with linking:
collect2: ld terminated with signal 9 [Killed]After Googling around apparently the problem had to do with running out of swap space which causes the linking to fail. Chromium needs almost 700mb more memory to link than I was providing so it was failing. Interestingly, Linux has a really clean solution to increase the swap space.
sudo dd if=/dev/zero of=/swapfile bs=1024 count=1048576 sudo mkswap /swapfile sudo swapon /swapfileThese three commands will create an empty file of 1gb, make that a swap file, and turn it on to be used.

