I feel that the defective RAM is the root of most if not all your other troubles.
Get new ram alround and dump the existing card. It has more defects I suspect, then merely missing megabytes.
Hands-on: Samsung Galaxy S8 review
1995-2015: How technology has changed the world in 20 years
Samsung's beautifully designed Galaxy S8 makes for better VR experiences too
47 iPhone camera tips to help you take better photos
Synology invites you to visit them at Insomnia on 26th – 29th August. Book your tickets now and visit Synology.