CacheMaximumSize Property

Applies To

OraDatabase Object


Sets the maximum size (high watermark) for the client-side object cache as a percentage of the optimal size. The default value is 10%.


Oradatabase.CacheMaximumSize maxsize

Data Type



If the memory occupied by the objects currently in the cache exceeds the high watermark (maximum object cache size), then the cache automatically begins to free unmarked objects that have a pin count of zero. The cache continues freeing those objects until memory use in the cache reaches the optimal size, or until it runs out of objects eligible for freeing.