About the ram - even if you have enough, lower for the client - it will just cause lag and other issues for you.
The server is fine to set more, but there's no need to overdo it - keep it low and give it more when there's actually a need for it - not "just because you can"
I see your issue, you have installed your server on your desktop and your desktop is part of your onedrive. Move it out from the onedrive folder structure, example c:\games\SERVERNAME or other drive. Also don't move it to any other pre-created systems folder.
If there's still issues, post new information - log if there's one created this time around.