if you have bad ram you're gonna wanna get the ram placed, not aware of linux logs generally logging ram issues, you sure that you weren't looking at stuff relating to networking?
java 17 is fine, 1.17 works with java 17 just fine too, this is likely a hardware/environment issue; You don't need to recreate the server if changing java versions