RAM disk is a volatile storage solution, meaning it doesn't retain any data across system restarts. When your computer starts up, the RAM disk presents an entirely empty drive, without any files or folders.
Therefore, there's no need to specifically configure it to clear a particular file, as all content is cleared automatically on shutdown.