MethodCacheLimit

Integer (prefix multiplier)

5M for 64‑bit nodes; 512K for 32‑bit nodes

Purpose

The MethodCacheLimit parameter specifies the maximum amount of memory that is allocated for an interpreter method cache.

The optimum value for this parameter varies, depending on the:

The minimum value is 64K bytes.

When a single cache for all processes within a node is used, this parameter takes effect when the node is initialized.

When multiple caches are used, the parameter takes effect when a process is initiated.

Hints

When a method is executed, the JADE interpreter must load the method code into the interpreter method cache for execution. The current copy is used if the method is not in use, it is already loaded in the cache, and it has not been modified. If a method is called frequently, tuning the cache size may result in substantial time-savings.

From version 2018.0.01, to determine method load counts and the amount by which the method cache limit is exceeded, refer to the method load times and cache overflow :

From version 2018.0.01, the MethodCacheLifetime parameter, which defaults to zero (0) for 32‑bit nodes and to 600000 milliseconds (that is, 10 minutes) for 64‑bit nodes, specifies the number of milliseconds a method must be in cache before it is made available for removal.

If you specify a MethodCache parameter value of Multiple when you are running in JADE thin client mode, up to the maximum amount of memory that you allocate by using the MethodCacheLimit parameter may be allocated for each end user. When you set cache parameters and you have a lot of JADE nodes, you need to consider the resource that is available on the machine as a whole.