EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB35100: Reports do not cache after upgrading MicroStrategy Intelligence Server to 9.x and newer and "Max memory ####KB allowed for cache lkup table has been reached, cannot add new entry" errors are found in Report Server Cache Trace log entries.


Community Admin

• Strategy


Reports do not cache after upgrading MicroStrategy Intelligence Server to 9.x and newer and "Max memory ####KB allowed for cache lkup table has been reached, cannot add new entry" errors are found in Report Server Cache Trace log entries.

SYMPTOM:
The entry "Max memory ####KB allowed for cache lkup table has been reached, cannot add new entry" is seen in the Report Server -> Cache Trace log (if enabled) when sending reports to cache in Strategy Intelligence Server 9.x and newer. In the cache monitor in Strategy Desktop, either no new cache is seen as created, or if the report was sent to history, the cache appears as of type "History" only rather than "Matching, History".
 
CAUSE:
Starting in Strategy 9.0.2, the size of the cache lookup table is dependent on the Maximum RAM usage (MBytes) setting located under Project Configuration > Caching > Result Caches > Storage > Memory Storage > Datasets (as shown below).
 

ka0PW0000002xvFYAQ_0EM440000002Ako.png

 
The default value of the Maximum RAM usage setting is 50MB. The size of the cache lookup table is 1/3 the value of the Maximum RAM usage setting (therefore 17.3 MB by default). When this cache lookup table size is reached, reports cannot be cached.
 
ACTION:
Increase the maximum memory that can be used by report caches. Increasing the maximum RAM for report caches will increase the memory available to store the lookup tables.

  • In Strategy Desktop > Project Configuration > Caching > Result Caches > Storage > Memory Storage > Datasets, increase the Maximum RAM usage (MBytes) setting. The cache lookup table size is automatically set to 1/3 of this setting.

It is possible that users run into the same error after few days of operation (new caches created with different prompt answers etc). At that time, it will be necessary to increase the above setting again. In some cases, another setting that would have impact on the cache lookup table size is the Intelligence Server - "Cache Lookup Cleanup Frequency" configuration setting. This setting is helpful particularly in cases where caches are being expired, invalidated on a daily basis. By default this setting is set to '0' - i.e. cleanup the lookup tables only on shutdown. This setting could be set to run the cleanup once a day (86400 seconds) or more frequently as needed.
 


Comment

0 comments

Details

Knowledge Article

Published:

June 13, 2017

Last Updated:

August 12, 2024