How to Record to directly to disk (SSD or HDD) instead of RAM?

Bao

New Member
Currently, when I am recording (no streaming at all) my screen, or any other window, OBS seems to be saving the recording to my RAM instead of to the disk. The file where the video will ultimately be saved is created at the start of the recording and increases in size to about 4-ish MBs. The amount of RAM being used by OBS continuously increases. Once recording stops, the RAM usage rapidly drops as the data is put into the created video file.

I would like to know if there is a way to record a video file directly to disk, thereby preventing an ever increasing amount of RAM usage by OBS during recording. If you are familiar with Audacity, it records audio directly to the disk, instead of storing it in RAM, so basically I'm hoping for something similar.

My settings are the default settings after install, selecting in the wizard that I would like optimization for recording only. My output settings are on simple, with recording encoder set to Hardware (QSV) (which was default setting).
 

Bao

New Member
My question was generated from a 3-4 minute test recording. After a longer test (13-15 minutes), it appears that OBS is indeed writing to the disk and the created file is increasing in size. The RAM did increase in the first 2-3 minutes of recording from about 426 MB to 469 MB, and the file (in the save location) did stop increasing in size once it reached 9.35 MB. However, at about the 9-10 minute mark, the file increased in size to about 190 MB, then steadily increased over the next minute to 195 MB. It then stayed this size for a while. These sizes are the sizes reported by file explorer on Windows with continuous refreshing. The RAM usage stayed relatively constant at around 469 MB.

The length of the initial test was too short and led to the apparent behaviour. Please consider this issue resolved.
 
Top