Qlik Community

Knowledge

Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team

Announcements
Support Case Portal has moved to Qlik Community! Read the FAQs to start exploring Support resources.

How to clear the cache used by QlikView Server and QlikSense Engine

Bjorn_Wedbratt
Support
Support

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.


Environment:

QlikView any version 
Qlik Sense all verions

 

Resolution:

 

The first and obvious way to clear the cache is to restart the QlikView Server or the Qlik Sense engine service.  

Another option is to add the following entry in the [Settings 7] entry in the settings.ini located in:

QlikView:
%ProgramData%\QlikTech\QlikView Server

Qlik Sense:
%ProgramData%\Qlik\Sense\Engine for QlikSense
 
[Settings 7]
ClearCacheTimesPerDay=1


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. The number needs to be 1 or higher. Always a natural number.

AttentionClearing the cache may lead to increased response times from the user's perspective.  Use with caution!

Details on how to modify the settings.ini for Sense: How to modify Qlik Sense Engine's Settings.ini


 

Labels (2)
Version history
Revision #:
3 of 3
Last update:
‎2021-06-14 04:06 AM
Updated by: