I believe that many "memory cannot be written" problems relate to [Windows] Data Execution Prevention events. I have bracketed "Windows" because the same technology exists in other operating systems.
I am not an expert by any means but there are plenty of articles available that might be able to steer you in the right direction. Apparently what you would think might be a RAM or drive error, often relates to this.
It can be disabled to see if that changes anything.
And.............. good luck with that throbber issue.