Skip to main content
Announcements
Qlik and Talend Support Cases are now opened in the same place.

How to disable 'Base memory size' info and 'StaticByteSize' calls in Qlik Sens Enterprise on Windows

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Filippo_Nicolussi_P

How to disable 'Base memory size' info and 'StaticByteSize' calls in Qlik Sens Enterprise on Windows

Last Update:

Feb 19, 2024 7:32:57 AM

Updated By:

Sonja_Bauernfeind

Created date:

Feb 19, 2024 3:14:13 AM

After upgrading to Qlik Sense Enterprise on Windows May 2023 (or later), the Qlik Sense Repository Service may cause CPU usage spikes on the central node. In addition, the central Engine node may show an increased average RAM consumption while a high volume of reloads is being executed. 

The Qlik Sense System_Repository log file will read:

"API call to Engine service was successful: The retrieved 'StaticByteSize' value for app 'App-GUID' is: 'Size in bytes' bytes." 

Default location of log: C:\ProgramData\Qlik\Sense\Log\Repository\Trace\[Server_Name]_System_Repository.txt

This activity is associated with the ability to see the Base memory size in the Qlik Sense Enterprise Management Console. See Show base memory size of apps in QMC.

Resolution

The feature to see Base memory size can be disabled. This may require an upgrade and will require downtime as configuration files need to be changed.

Take a backup of your environment before proceeding.
  1. Verify the version you are using and verify that you are at least on one of the versions (and patches) listed: 

    • May 2023 Patch 13
    • August 2023 Patch 10
    • November 2023 Patch 4 
    • February 2024 IR
  2. Back up the following files:

    • C:\Program Files\Qlik\Sense\CapabilityService\capabilities.json
    • C:\Program Files\Qlik\Sense\Repository\Repository.exe.config

      *where C:\Program Files can be replaced by your custom installation path.

  3. Stop the Qlik Sense Repository Service and the Qlik Sense Dispatcher Service
  4. Open and edit the capabilities.json with a text editor (using elevated permissions)
    1. Open C:\Program Files\Qlik\Sense\CapabilityService\capabilities.json
    2. Locate: "enabled": true,"flag": "QMCShowAppSize"
    3. Change this to: "enabled": false,"flag": "QMCShowAppSize"
    4. Save the file  
  5. Open and edit the repository.exe.config with a text editor (using elevated permissions)
    1. Open C:\Program Files\Qlik\Sense\Repository\Repository.exe.config
    2. Locate: </appSettings>
    3. Before the </appSettings> closing statement, add:
      <add key="AppStaticByteSizeUpdate.Enable" value="false"/>
    4. Save
  6. Start all Qlik Sense services
  7. Verify you can access the Management Console

If any issues occur, revert the changes by restoring the backed up files and open a ticket with Support providing the changed versions of repository.exe.config, capabilities.json mentioning this article. 

Related Content

Show base memory size of apps in QMC

 

Internal Investigation:

QB-22795
QB-24301

 

Environment

Qlik Sense Enterprise on Windows  May 2023, August 2023, November 2023, February 2024. 

Labels (1)
Version history
Last update:
‎2024-02-19 07:32 AM
Updated by: