you're talking about a ram disk?
i've 24gb ram on my pc, and i made a ramdisk of 4gb for temp file to prevent over usage of my SSD!
when u turn off the pc the ram is deleted, u can back up the data every time u turn off pc, but it's a waste of time and made the thing useless, it's better for temp and sandbox.