Novell ZENworks Configuration Management 11.4
High memory use on devices with less RAM. How to control memory size of bundle actions.
Bundle Action Data are loaded in memory and fetched from there to execute bundle actions.
With LRU cache in place, if a workstation is experiencing memory utilization issues then Administrator can reduce max size of LRU cache from default 400 to size which suits the environment better so that only this many bundle appdata entries are loaded in memory .
C:\Program Files (x86)\Novell\ZENworks\conf\AppDataLRUCacheConfig.xml
<AppDataCacheConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://novell.com/zenworks/apps/lrucache">
<LRUCacheConfig CacheType="ZCM_RESOLVED" MaxSize="400" TimerRefreshInterval="10000" Expiry="300000" />
<LRUCacheConfig CacheType="PATCH_RESOLVED" MaxSize="400" TimerRefreshInterval="10000" Expiry="300000" />
<LRUCacheConfig CacheType="CLEAN" MaxSize="400" TimerRefreshInterval="10000" Expiry="300000" />
Using the above configuration, the total entries in LRU can be controlled.
If a bundle appdata is not present in LRU then during its execution it will be serialized from disk and loaded in LRU cache, so there will be some delay introduced by smaller memory cache.
LRU cache can be disabled altogether with MaxSize set to 0.
Reboot the device after changing before the values will be enabled.