Hello,
Any progress with this feature? As an alternative, I was thinking a "reinitialise" function might be a helpful alternative. Let me explain what I mean.
With a temp storage only RAM disk, I can use the "Clear Content" button to quickly free RAM usage. But with an image file, "Clear Content" also clears the image! What would be useful, is when "Quick Load mode" is enabled, to have a "Reinitialise" button, that will simply deallocate all used memory, but leave the image intact. So, when files are accessed, they are loaded from the image file again.
Let's say I have a 4GB RAM disk mirrored to an image file. I put a 2GB file on it:
file_1.bin - 2GB
Free space: 2GB
Free RAM: 2GB
Now I put another 2GB file on it:
file_1.bin - 2GB
file_2.bin - 2GB
Free space: 0MB
Free RAM: 0MB (Uh oh! Better free some RAM before my system becomes unstable!)
Now if I delete file_1.bin:
file_2.bin - 2GB
Free space: 2GB
Free RAM: 0MB
I press the "Reinitialise" button:
file_2.bin - 2GB
Free space: 2GB
Free RAM: 4GB (file_2.bin is in the image file, but not yet loaded into RAM because of "Quick Load Mode")
I think it would be quite simple to implement, because I can already do almost the same thing by performing these actions:
- Wait until everything is flushed to disk
- Remove RAM disk
- Create RAM disk with identical settings and same image file
And voila, my RAM disk is reloaded and memory is free again. But, it's a lot of hassle to remove and then enter all the parameters again.
Thanks for reading!
![Smile :)](./images/smilies/icon_e_smile.gif)