Random drops in FPS

I recently downloaded fh5 on my pc and I’m having really bad FPS drops randomly. I can run fh3 and fh4 no problem on high settings but no matter what settings on whether it’s low or high I get stuttering no matter what and I keep getting messages saying that the game is running out of
“system memory 10:30 GB/ 7.93GB”

Currently running a Amd ryzen 3 2300x, rx570 and 8gb of ram