Why does my light build take so long and crash after a while?

Is your lightsource set to stationary? Try to increase your virtual memory and ram memory