I Need help, unreal engine 5.1 crashes all the time

about a year ago i upgraded to 16 gb of ram, i bought a card of 8 gb of ram and some people recommended that the cards need to be the same card and not different brands or different cards,(i started in unreal about a week ago and i have been dealing with this issue ever since) will the process be different if i have 16 gigs of ram? and being the memory cards one by msi default and the other a different card (8XPG RAM CARD)?