Skip to main content

memory (instance statistics)

AMPS can provide information regarding the process’s memory usage in its RSS and VMSize via the memory resource in the monitoring interface.

MetricDescriptionType
cachesInformation about AMPS memory caches.(see caches)
paginationsInformation about paginated result sets.(see paginations)
rssThe resident set size of the AMPS process.snapshot
vmsizeThe virtual memory size of the AMPS process.snapshot

Statistics Database Tables: IMEMORY_STATIC, IMEMORY_DYNAMIC, IMEMORY_CACHES_STATIC, IMEMORY_CACHES_DYNAMIC

Admin Path: /amps/instance/memory/<metric>, /amps/instance/memory/caches/<identifier>/*<metric>, /amps/instance/memory/paginations/<metric>

The caches element provides information about currently-active memory caches.

MetricDescriptionType
allocationsNumber of memory allocations for this cache.cumulative
bytesNumber of bytes allocated to this cache.snapshot
descriptionDescription of the cache.fixed
efficiencyRatio of hits to requests for this cache.snapshot
entriesNumber of entries in this cache.snapshot
evictionsCount of evictions from this cache.cumulative
fetchesCount of fetches from this cache.cumulative
overflow_bytesBytes allocated for slow consumers to this cache.cumulative

The following caches may appear in AMPS statistics:

Cache NameDescription
byte buffer cacheGeneral purpose cache.
byte in buffer cacheCache for bytes being received from clients.
byte out buffer cacheCache for bytes being sent to clients.
client cacheCache for client objects.
client entitlement cacheCache for maintaining entitlement information.
client session cacheCache for maintaining current session state.
client status cacheCache for forming client status messages.
message cacheCache for message objects.
query context cacheCache for query contexts.
sow update cacheCache for SOW updates.
subscription cacheCache for subscription state.
xpath value data buffer cacheCache for XPath values.

Statistics Database Table: IMEMORY_CACHES

The paginations element provides information about currently-active paginated subscriptions in AMPS.

MetricDescriptionType
memory_bytesNumber of bytes consumed to maintain this paginated set.snapshot
message_typeMessage type for this paginated set.fixed
subscription_countNumber of subscriptions using this paginated set.snapshot
topicSource topic for this paginated set.fixed

Statistics Database Table: IPAGINATIONS