RFS image file grows too large

docsoc

RFS image file grows too large   05 August 2026, 16:26

It's about the .rfs file, which is the image of the RAM File System. I noticed it grows unexpectedly large in size. A 3GB RAM FS volume saves as 34GB - more than my system's total RAM. The RAM Disk app saves a 3GB image to just 3GB - same as the allocated RAM.
SoftPerfect Support forum - Andrew avatar image

Re: RFS image file grows too large   05 August 2026, 17:32

That was one of the edge cases we unfortunately missed in the initial releases. When there are a large number of very small files, a RAM FS image could become unnecessarily large because each file, no matter how small, occupied a 2 MB block in the image.

We have already discovered and fixed that issue, and a new version will be available in a few days. It will also include a new feature that lets you use a folder instead of an image file. In other words, a RAM FS volume can be populated from a folder at startup and synchronised back on shutdown. This uses a delta-sync mechanism, so only files that have changed, and only the modified portions of those files, are written back to the source folder, thus making it fast and gentle on the SSD.
docsoc

Re: RFS image file grows too large   05 August 2026, 20:42

I still prefer the an image file though, as I've been using it for years in the RAM Disk software. I backup the image file regularly because sometimes some glitches make the image unable to be read by the software, especially when the PC's power supply is accidentally shut down. It's just that the .rfs file now grew to more than 34Gb and the time it takes to back it up to another disk takes too long as it is being copied as a real 34GB file.
SoftPerfect Support forum - Andrew avatar image

Re: RFS image file grows too large   05 August 2026, 21:23

Yes, the excessive image size has been fixed in the upcoming version. Small files are now packed together instead of each occupying a separate 2 MB block. This keeps the image much closer to the amount of data actually stored.

The old image is a sparse file, but some backup programs expand its empty areas while copying it. This explains why the backup becomes a real 34 GB file and takes so long.

After updating, the quickest way to compact an existing image is to save the mounted volume to a new .rfs file. Once you have verified the new image, the old oversized one can be removed.

RFS images are also crash-safe by design. During a save, the previous complete snapshot remains intact while the new one is written. RFS switches to the new snapshot only after it has been fully written to disk. If power is lost midway, it loads the previous complete snapshot instead of a half-written one.

Note: Changes made since the last completed save can still be lost, for example if you lose your power supply, so backups remain advisable.

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

       **  **         *******   **     **  ******** 
       **  **        **     **   **   **   **       
       **  **               **    ** **    **       
       **  **         *******      ***     ******   
 **    **  **               **    ** **    **       
 **    **  **        **     **   **   **   **       
  ******   ********   *******   **     **  ******** 

Message: