How to clear the cache used by QlikView Server and QlikSense Engine
The cache is handled automatically by QlikView Server or Qlik Sense Engine and should not be cleared manually.
However, in some situations, there might be a reason to clear the cache on a regular basis. An example would be memory starvation due to an insufficiently sized system.
Note using this option does not unload any Documents/Apps from memory. It only clear out stored information such as sessions and calculations.
Clearing the cache has an immediate negative impact on performance. Qlik is built as an in-memory engine and relies on access to cached information in memory. We do not recommend using the clear cache functionality but instead ensure the server is correctly scaled.
QlikView any version Qlik Sense all verions
The first and obvious way to clear the cache is to restart the QlikView Server or the Qlik Sense engine service. This leads to service interruption and will disconnect users.
Another option is to enable automated cache clearing by modifying the Engine settings.ini file.
QlikView: %ProgramData%\QlikTech\QlikView Server
Qlik Sense: %ProgramData%\Qlik\Sense\Engine for QlikSense
The value set is the number of times per day the cache will be cleared, synchronized at midnight. A value of 1 will clear the cache once per day at midnight (UTC). The number needs to be 1 or higher. Always a natural number.
Attention: Clearing the cache may lead to increased response times from the user's perspective. Use with caution!