8 or 16GB Ram?

I just spent all of this money on a MSI Cyborg laptop to learn it only had 8GB of RAM. While I can play most games, I find while playing call of duty warzone is crashes or lags really badly, could this be ram?

EDIT: The laptop has a RTX 2050, i5-12450H