I do not think this is related to your AMD Ryzen CPU only.
https://planetside.co.uk/forums/index.php/topic,21772.msg219054.html#msg219054This is a thread from 2016 which resulted in the same error message you can see.
It was during Beta 4 (quite early cycle). I did send a scene file to planetside but
never got any feedback back then if that helped them in some way or another.
When TG 4.0 came out I for one very soon experienced the same problems your are reporting now.
After introduction of the RTP for me TG never ran as smooth as before on my machine (specs in the footnote).
Opening a few node preview windows at the same time sooner or later crashes TG as well here.
Did not change ever since. I got used to it in a way. So far I did not update from 4.1.25.
My workaround is simply to save often and use a small number of previews.
So, you are not alone
CHeers, Klaus