ObjectCacheSizeLimit

Integer (prefix multiplier)

80M

Purpose

The ObjectCacheSizeLimit parameter specifies the maximum amount of memory that is allocated by the JADE server node for caching persistent objects to be used by server methods and server applications. The optimum value for this parameter varies, depending on the:

The minimum value is 3M bytes and the maximum value is two‑thirds of the physical memory on the database server.

When JADE detects a parameter value that is outside the allowed range, the value is changed to be the appropriate minimum or maximum, a message is output to the jommsg.log file, and the JADE initialization file is updated. Node initialization then continues normally.

Parameter is read when …

The database server node is next initialized.

Hints

The JADE Object Manager maintains a cache on the server node of objects that are accessed during the execution of server methods and JADE applications running on a server.

Access to an object is faster if it is found in the cache instead of it having to be loaded from the physical database.

The size of this parameter determines the number of objects that can remain in the object cache of the server node.

Use the persistentCacheStats parameter in the logObjectCaches method of the Node or System class to log statistics of the persistent objects cache usage. Increasing the value of the ObjectCacheSizeLimit parameter may reduce cache misses. (For details about sampling JADE nodes to obtain statistical information, see Chapter 4 of the JADE Object Manager Guide.)