I have this application with which I would like to store about 50MB of data on the users hard drive. What I want to know is how I would be able to allocate(?) these 50MB so that it is considered used by the computer. My goal with this would be to make sure that if the user fills his/her hdd, my application still has 50MB of space to work with.
Any ideas or recomended approaches?
Create a 50MB file on the HDD. Use memory-mapped access. Don’t delete it.