Whenever I try to rebuild the lighting it freezes, then it crashes can anyone help

Whenever I try to rebuild the lighting it freezes, then it crashes. Can anyone help.