Click or drag to resize

DataCache Class

Object maintains a list of pages accessed by a session, pages are removed from the list when there is not enough memory available. This makes such pages eligible for garbage collection while in list pages are prevented from being garbage collected.
Inheritance Hierarchy
SystemObject
  VelocityDbDataCache

Namespace:  VelocityDb
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public class DataCache

The DataCache type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberAvailableRamMB
Current available memory in MB as calculated by using PerformanceCounter or current use relative to MaximumMemoryUse
Public propertyStatic memberMaximumMemoryUse
Maximum number of bytes to allow for this Process (reduces cached objects and pages when memory allocated reaches this soft limit)
Public propertyStatic memberMemoryUsedByThisProcess
The amount of virtual memory, in bytes, allocated for this process.
Public propertyMinimumAvailableMegaBytes
Decide the minimum amount of available memory before reducing page caching and flushing updated pages. Only used by 32-bit process.
Public propertyPageCacheEnabled
Enable or disable page cache. In cases where pages are not going to be revisited, performance may be improved by disabling the page cache. In other cases leave the page cache enabled (the default)
Top
Methods
  NameDescription
Public methodClear
Clear cache of cached pages
Top
Fields
  NameDescription
Public fieldStatic members_computerInfo
Top
See Also