Just the blockchain of the wallet is running on ram disk so your earnings will not be lost . I'm running the blockhain on ramdisk because the speed of reading from the ram is more faster then a ssd disk and the work for the new block is broadcasting much faster
makes sense, thanks for clarificaction