How to Clear Revit Cache and Temp Files for Better Speed
In this article
Clearing the Revit cache and temporary files removes accumulated junk data, corrupted temporary files, and outdated local copies that can lead to software sluggishness, crashing, or synchronization errors. This process refreshes the application's environment, ensuring that Revit accesses the most current data from the central model and reduces the overhead on your system's RAM and hard drive. Before starting, ensure all Revit sessions are closed and any critical work is synchronized to the central file.
What You'll Need
- Administrative access to the computer to delete files in the AppData folder.
- A backup of any custom local settings if you are performing a deep clean.
- Revit closed completely (check Task Manager to ensure no background processes are running).
Step-by-Step
- Close All Autodesk Software: Shut down Revit, AutoCAD, and any other Autodesk products. Open the Windows Task Manager (Ctrl + Shift + Esc) and verify that no processes named "Revit.exe" or "Autodesk" are still running in the background.
- Clear Windows Temporary Files: Press the Windows Key + R on your keyboard to open the Run dialog box. Type
%temp%and press Enter. This opens the local temporary folder. Select all files (Ctrl + A) and delete them. If a window appears stating a file is in use, click "Skip" for that specific file. - Clear the Revit Journals: Revit keeps a text log of every action taken in a session. Over time, these can accumulate. In the Run dialog (Windows Key + R), type %AppData% and press Enter. Navigate to . Locate the folder named "Journals" and delete the contents inside.
- Clear the Revit Local Cache (Collaboration Cache): For those working on BIM 360 or Revit Cloud Worksharing, the collaboration cache is a common source of errors. Navigate to . Delete the folders inside this directory. Note that Revit will rebuild these files the next time you open a cloud model, which may take a few extra minutes.
- Remove Local Model Copies: If you are experiencing synchronization issues with a workshared model, navigate to the folder where your local files are stored (usually
Documentsor a specific project folder). Delete the local version of the project file (.rvt). When you reopen the project from the central file, Revit will create a fresh, clean local copy. - Flush DNS (Optional for Cloud Users): If you are having trouble connecting to the Autodesk cloud, open the Command Prompt as an administrator. Type
ipconfig /flushdnsand press Enter. This clears the network cache and forces a fresh connection to the servers.
Common Mistakes
- Deleting the Central File: Never delete the central model file (.rvt) located on the server or cloud. Only delete the local copy on your own machine.
- Deleting the Entire Revit Folder: Do not delete the entire Autodesk folder in AppData. Only target the "Journals" or "CollaborationCache" folders. Deleting the root folder can remove your custom UI layouts and plugin settings.
- Running Revit During Cleanup: Attempting to delete cache files while Revit is open will result in "File in Use" errors and may leave the cache in a partially deleted, corrupted state.
Tips
- Schedule Regular Cleanups: If you work on large-scale projects with many linked models, clear your %temp% folder once a week to maintain system performance.
- Use a Batch File: For advanced users, you can create a simple .bat file that runs the
del /q /s %temp%\*command to clear temporary files with a single click before starting your workday. - Check Disk Space: Ensure your C: drive has at least 10-20% free space. Revit uses the system drive for paging and caching; if the drive is full, clearing the cache will only provide a temporary fix.
Troubleshooting
If you have cleared the cache and Revit is still crashing or lagging, try the following steps:
- Update Graphics Drivers: Cache issues are often confused with GPU driver conflicts. Ensure your NVIDIA or AMD drivers are up to date.
- Check for Add-in Conflicts: Sometimes a third-party plugin creates a cache that doesn't clear. Try launching Revit in "Safe Mode" or disabling add-ins one by one to identify the culprit.
- Verify Permissions: If you cannot delete files in the AppData folder, ensure you are logged in as an Administrator. Some corporate IT policies restrict access to these folders.
- Reinstall Collaboration Cache: If cloud models refuse to open after a cache clear, ensure your Autodesk Desktop Connector is updated to the latest version.
Frequently Asked Questions
Will clearing the cache delete my project work?
No. Clearing the cache removes temporary files and local copies. As long as you have synchronized your work to the central model, your data is safe.
How often should I clear the Revit cache?
There is no set schedule, but it is recommended whenever you notice a drop in performance, encounter "File not found" errors during sync, or after a major Revit update.
What is the difference between a local file and the cache?
A local file is your personal working copy of the project. The cache (specifically the Collaboration Cache) consists of smaller data chunks used by Revit to manage cloud-based synchronization.
Why is Revit still slow after clearing the cache?
Sluggishness may be caused by overly complex families, too many warnings in the project, or insufficient RAM. Use the "Audit" function when opening the central file to fix internal model errors.
Does clearing the %temp% folder affect other programs?
It generally does not. The %temp% folder is designed for temporary storage. Any file currently in use by another program will be locked and cannot be deleted, protecting your active work.