For a
RAM disk without an image, its size can easily be changed by editing the disk properties. Once the disk size was altered, a warning message will appear. When using the disk for temp files, we recommend clicking
Cancel, gracefully closing all the running programs, and rebooting the computer. Otherwise clicking OK will forcibly remount the disk and may break programs that had open files on that disk.
In your case, as you are using a
RAM disk with an image, the disk size is determined by the size of its image file, so you need to create a new image file. If you want to retain all files and folders, please follow these steps:
- Create a new NTFS-formatted image file of 4096 MB in size.
- Mount it to a separate drive letter via Image - Mount Image in the main menu.
- Copy everything from your RAM disk to the mounted image.
- Unmount it via Image - Unmount Image in the main menu.
- Go to the RAM disk's settings and replace the image file name with the one created in step 1.
- When asked whether to remount the RAM disk, choose Cancel and reboot.
- After the reboot the old image file can be deleted as it's no longer used.
On a separate note, unless you have a specific reason to use an image file, for TEMP files we recommend using a volatile RAM disk (without an image) whose contents disappears on shutdown. Since this type of RAM disk doesn't use on-disk images, it initialises and shuts down faster. Plus it makes sense to use exFAT and move browser caches to the RAM disk. Please see our article
How to improve PC performance with a RAM disk for details.