Blender Crashes while rendering on eevee

Blender crashes(not responding) while rendering in eevee, same happens with cycles.

1st PC:
Windows 10:
Intel i3 5005u.
8GB RAM
AMD R5 M330 GPU.

2nd PC:
Mac
Intel i5 1.8 Ghz
8GB Ram.
Integrated Graphics.