If your are getting the following error after compiling something, for example PHP:
cc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1
make: *** Waiting for unfinished jobs....
*** The make has failed, would you like to try to make again? (y,n): n
There is not enough free memory to complete the compiling, you can add more memory to the machine or you can temporarily stop some other software that is using memory so you can finish the compiling.