Where does LTspice store analysis data?

When running for instance a transient analysis in LTspice, I am wondering where LTspice stores its data on my computer. Does it automatically delete data stored from an earlier run or will it keep that also? Do I have to delete those analysis data manually to prevent occupying lots of memory?
I am running a Linux O.S.
 
Don´t if its any different with Linux but in Windows the default setup seems to be that sim-data is stored in the same folder as the schematic file (.asc).
These have the ending .raw and depending on simulation these can get quite big.
I have a little batch-file that deletes them now and then.
That folder can otherwise end up in Gb-size.

You´ll also find .plt, .log and .fft files.
 
Don´t if its any different with Linux but in Windows the default setup seems to be that sim-data is stored in the same folder as the schematic file (.asc).
These have the ending .raw and depending on simulation these can get quite big.
I have a little batch-file that deletes them now and then.
That folder can otherwise end up in Gb-size.

You´ll also find .plt, .log and .fft files.


It's the same for Ubuntu. If you want to keep the elder files (e.g.raw-files) you'll have to rename or move them.
 
In the preferences, there is an option to automatically delete these files when you close a simulation. I believe that is the default, but you can set it to leave the .raw file alone for post processing using other software such as MATLAB. FWIW, I have left those preferences as the defaults, and I have no .raw or .log files to clean up regularly.

Those large files do point to the need to have a fast drive that 'hosts' the folder you're using to execute the simulation. For example, I found that it is really tedious to use a slow network filesystem to store all of my simulations, as the temporary data takes a long time to read and write as the simulation executes. These files can't be directed away to some temp area either (AFAIK) so the folder that encloses the .asc file ought to be on a fast filesystem.
 
If you look in LT's control panel you will see the default locations.

I have LT set to auto delete .raw' files as these get very large. The files generated during a simulation can also be placed in a user defined folder as I do. When a sim is run the three files you see are created. When you close the sim the files auto delete.

Be aware that on W10 you can find your own file location can be reset to the default following a W10 major update. Its annoying and you don't realise it has happened... not that it makes much difference... I just don't like what can be Giga Byte files for super long sims be written to the C drive.
 

Attachments

  • Screenshot 2021-05-04 091622.jpg
    Screenshot 2021-05-04 091622.jpg
    118 KB · Views: 199
  • Screenshot 2021-05-04 091641.jpg
    Screenshot 2021-05-04 091641.jpg
    120.3 KB · Views: 200
  • Screenshot 2021-05-04 091718.jpg
    Screenshot 2021-05-04 091718.jpg
    51.6 KB · Views: 190