Q100043: How to clear your Nuke/NukeX/Nuke Studio/Hiero cache

Follow

SUMMARY

This article explains how to clear your Nuke/NukeX/NukeStudio cache files.

MORE INFORMATION

Clearing your cache can help with performance issues and unexpected behaviours. It is also good practice in order to prevent unnecessary memory usage.

To fully clear all the cache files on your system you will first need to clear the cache from within Nuke/NukeX/NukeStudio:

  1. Open Nuke/NukeX/NukeStudio
  2. Select the Cache drop down menu
  3. For Nuke/NukeX Select Clear All
  4. For Nuke Studio/Hiero Select RAM Cache > Clear Playback Cache

We would then recommend navigating to the cache directory on your machine and deleting the entire folder. The cache may be in different locations depending on whether it's set to a default directory or set your own custom preferences. Either way, you can find the cache location by doing the following:

  1. Open Nuke.
  2. In the Node Graph, press the 'X' key and command window will appear.
  3. Set the command window to TCL and enter the following: getenv NUKE_TEMP_DIR
  4. Press Okay to confirm, then this will return your Nuke temp directory i.e. "C:/Users/[username]/AppData/Local/Temp/nuke"

Alternatively, you can find the cache location by executing the following line of code in the Script Editor:

nuke.tcl("getenv NUKE_TEMP_DIR")

Now you can navigate to this location and manually delete the nuke folder to clear your cache.

You may also have an OFX plug-in directory cache which you can clear. The default locations are detailed below.

Default Nuke cache locations:

Linux and macOS:

/var/tmp/nuke-{uid}/ where {uid} is the active user's ID on the machine, e.g. /var/tmp/nuke-u1737/

Windows:

"C:/Users/{username}/AppData/Local/Temp/nuke/" where {username} is the current active user.

 

FURTHER READING

Additional information on the Nuke Cache can be found in our online documentation here.

    We're sorry to hear that

    Please tell us why