Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

How do you think about %TEMP% folder

8 ANTWORTEN 8
GELÖST
Antworten
Nachricht 1 von 9
jh_lee5YTTX
424 Aufrufe, 8 Antworten

How do you think about %TEMP% folder

I am asked about accessing central problem etc...

sometimes it is solved after make %TEMP% folder clearly.

but I don't know accurately correlation between central files and %TEMP% files.

I just guess the temp files make ghosts log and they hold synchronize continuously, so anyone can't access Workset and synchronize with Central file.

 

I usually see advices in forum like clean your temp files and drive volume, turn off the computer everyday.

but I think there are no one who can say exact reason. 

who can say about it?

I want to hear your thinking or guess also

8 ANTWORTEN 8
Nachricht 2 von 9
RSomppi
als Antwort auf: jh_lee5YTTX


@jh_lee5YTTX wrote:

I think there are no one who can say exact reason. 

who can say about it?

I want to hear your thinking or guess also


Some of us know.

Nachricht 3 von 9
HVAC-Novice
als Antwort auf: jh_lee5YTTX

Every few days I clean the tmp folder and get rid of a few GB. i never got around it, but I wanted to find a script or automation to do that daily for me. one issue is, that script also has to automatically skip the files currently locked. 

 

Revit is the only software I have that suffers from tmp folder fill-up. My best guess it is a programming error in the spaghettis code. 

 

Re-starting the PC every once a while is good practice anyway. I admit I leave my projects open the end of the day since opening up a project takes so long. But our IT seems to enforce a re-start every few days. 

Revit version: R2025.4
Nachricht 4 von 9
TripleM-Dev.net
als Antwort auf: HVAC-Novice

The Temp normally gets cleaned up pretty good, a crash or closing a PC to soon after closing a model (or other software) can leave stuff behind. I delete everything (possible) in it once every 3-months or so.

 

Why does some issues get resolved after the temp is cleared, because a file in the temp could have become corrupt and/or locked and some part of the software can't buffer or process something and will behave badly (in short)

 

Closing Revit and/or restarting the PC once a day, well that just clears the memory and any faults in it that has to be registered by windows. This will make it run faster again (depends on type of memory, server for instance normally have a different type of memory that generates less errors/faults)

 

If you only have a single model open whole day, that won't matter much with modern systems. But opening multiple models in the same session (at the same time or after one another) will keep things in memory and Revit will continue to slow down due to memory leaks and/or full memory at worst.

 

Ps:

If you want to save disk space look into the Journal location, you'll be surprised at it's content.

C:\Users\%USERNAME%\AppData\Local\Autodesk\Revit\Autodesk Revit <Version>\Journals\

 

If no Revit sessions are open of that version, the content of the Journal can be deleted (I think some is used so a undo can be performed I think)

 

Nachricht 5 von 9
HVAC-Novice
als Antwort auf: TripleM-Dev.net

I clean the tmp every few days, and it is 3GB or so. I don't want to imagine waiting 3 months :leicht_lächelndes_Gesicht:

 

thanks for reminding me of the journals. it had a lot of families in it..... 

 

It would be nice to have so me automated cleanup every wee k or so. 

 

 

 

 

Revit version: R2025.4
Nachricht 6 von 9
Simon_Weel
als Antwort auf: jh_lee5YTTX

To keep things nice & tidy, we store the local files in a separate folder, like C:\Revit_Local:

 

Simon_Weel_0-1730103643526.png

 

And the files in the temp folder are cleaned out by the Domain Login script. We use the command line utility delage.exe to delete all files older than a day.

Cleaning up the Journal files is something Revit can do on its own. See Options > tab General:

Simon_Weel_1-1730104076717.png

 

 

Nachricht 7 von 9
TripleM-Dev.net
als Antwort auf: HVAC-Novice

Hi@HVAC-Novice ,

 

The temp should be relative clear, if no crashes happend it wouldn't grow that large. But it will over time.

On my work laptop it's about a few GB every 3 month's. And hard drive space isn't a real issue.

 

If you're temp fills up with 3GB every few days...I would say something is wrong. Could it be some other software?

 

Nachricht 8 von 9
HVAC-Novice
als Antwort auf: TripleM-Dev.net

One temp folder that isn't from a different software is this and has 2.33 GB that can't be deleted in the current session.

I haven't had a crash in ages. 

 

I also found outlook and windows diagnostics files, but they shouldn't impact Revit. Current project is 125 MB. Looks like some temporary files are larger than that. 

 

HVACNovice_1-1730218364810.png

 

 

 

 

Revit version: R2025.4
Nachricht 9 von 9
Simon_Weel
als Antwort auf: HVAC-Novice

Current project is 125 MB. Looks like some temporary files are larger than that. 

That's because a Revit file is simply a ZIP file. You can open a Revit file with something like 7Zip and then you'll notice the content pretty much resembles the files in the temp-folder. I.e. - Revit unzips the file in the temp-folder.

Most of the files are in xml format, so you can do some serious hacking too....

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report