Well it can’t, that’s why we have memory controllers to sync the data and is why read and write speeds are never constant. My point is that the controllers have to be synced and would be expecting to write to a drive rather than to ram. For that I expect a specific instruction set would be needed similar to setting up a ram drive. There’s nothing I’ve read specifically but just an opinion based on what I’ve picked up over the years.
Edit: of course you did set up a ram drive so I guess that’s not really the answer you desire. That’s a fact I was somehow bypassing in my original thoughts so maybe I’m just confused as you are … but it’s definitely a reason why we have memory controllers. What I said about NAND memory and ram memory states is correct, ram has to be powered to retain data.