ScriptCacheEntries

Examples


This setting allows you to set the maximum number of scripts that are cached by Dexterity’s built-in script cache.

Syntax

ScriptCacheEntries = value

Parameters

value - An integer indicating the maximum number of scripts that will be cached.

Comments

Procedures, functions, form-level procedures and form-level functions are cached. The minimum number of scripts that will be cached is 35. If this setting is not included in the defaults file, Dexterity will automatically cache 50 scripts.

Use the Script Profiler to gauge how well the script cache is performing. Cache information is located at the end of the script profile. A 97% hit rate is typical. If your application performs operations that use a combination of more than 50 procedures and user-defined functions, or if the hit rate is lower than average, increasing the cache size can improve performance.

Setting a smaller cache size conserves memory. If Dexterity is running out of memory and can’t perform actions such as opening forms, the script cache will automatically be flushed to make more memory available.


Documentation Feedback