How to stop my UE4.18 from crashing since I installed it

after I installed ue4.18 on my win 10 I launched but my laptop hanged and windows told it had stopped working and the display driver for win 7 stopped working but recovered successfully. The next day windows told me that there was not enough video card memory to display texture. What should I do?