Qlik Sense: "Out of calculation memory" while loading an application or a chart into an application
Article Number: 000031001 | Last Modified: 2019/11/05
When you open an application to visualize your charts through the hub, in some cases the visualization will fail and you will get an error saying "Out of calculation memory"
The "Hypercube memory limits" limits how much memory a hypercube evaluation can allocate during a request. If multiple hypercubes are calculated during the request, the limit is applied to each hypercube calculation separately.
If it sets to 0, the engine applies a global heuristic which basically ensures that it doesn't run more than 1 "big" calculation in parallel.
If you set this value to -1 then you will disable the limit and allow the Engine to keep trying to load the application.
The negative value disables the limit, but it wouldn't exceed the limit set under the Max memory usage (%) or Memory usage mode.
The recommended way to resolve this issue is to try optimizing your application or chart because this can create performance problem on the engine server.
The issue is often related to having an app that is too large, is developed poorly (re-design and optimize it), or your system does not have enough CPU and Memory available due to a poorly designed application causing memory leaks.
You should also check if your server has enough resource (CPU / Memory) to proceed with the calculation. It is highly recommended to have at least 16 cores and 64 GB of memory.
You can otherwise change the timeout in the QMC by going to --> Engine --> Advanced --> Hypercube memory limits (bytes)
If you set this value to -1 then you will disable the timeout limit.