If you’re lucky, it might be a setting in the BIOS, such as running it at a certain voltage or speed that is making the RAM fail. See what options are offered in the BIOS.
If it’s not that, hopefully you can remove the bad stick and have enough memory to continue running TrueNAS without issues.
I have symbolically added your post to this satirical list. Pretend you made it on the list.
I had to stop adding to it some months ago since it was getting too long.