Resources Pool Memory Consumption (rollup)

Microsoft.Azure.ManagedInstance.Rollup.Database.MemoryConsumption (DependencyMonitor)

The monitor reports a critical state and raises an alert when the amount of memory used by the resource pool is greater than the Threshold setting, expressed as a percentage of memory available for Memory-Optimized Data tables for the given resource pool. This monitor is a dependency (rollup) monitor.

Knowledge Base article:

Summary

The monitor reports a critical state when the amount of memory used by the resource pool is greater than the Threshold setting, expressed as a percentage of memory available for Memory-Optimized Data tables for the given resource pool. This monitor is a dependency (rollup) monitor.

When mapped to database with memory-optimized tables, the above mentioned resource pool tracks memory allocated to all memory-optimized tables, including internal tables that are used for various structures within Memory-Optimized Data engine.

Causes

Managed Instance Memory-Optimized Data uses more memory and in different ways than Managed Instance does. It is possible that the amount of memory you installed and allocated for Memory-Optimized Data becomes inadequate for your growing needs. If so, you could run out of memory.

Please refer to this article for more details: Bind a Database with Memory-Optimized Tables to a Resource Pool.

Resolutions

To resolve your Low Memory or Out Of Memory condition, you need to either free the existing memory by reducing usage, or make more memory available to your Memory-Optimized data tables. Possible corrective actions may include the following:

Overrideable Parameters

Name

Description

Default Value

Enabled

Enables or disables the workflow.

Yes

Generates Alerts

Defines whether the workflow generates an Alert.

No

Element properties:

TargetMicrosoft.Azure.ManagedInstance.Database
Parent MonitorSystem.Health.PerformanceState
AlgorithmWorstOf
Source MonitorMicrosoft.Azure.ManagedInstance.Monitor.UserResourcePool.MemoryConsumption
RelationshipMicrosoft.Azure.ManagedInstance.DatabaseReferencesUserResourcePool
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveFalse
RemotableTrue
AccessibilityPublic

Source Code:

<DependencyMonitor ID="Microsoft.Azure.ManagedInstance.Rollup.Database.MemoryConsumption" Accessibility="Public" Enabled="true" Target="MngdInstD!Microsoft.Azure.ManagedInstance.Database" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" RelationshipType="MngdInstD!Microsoft.Azure.ManagedInstance.DatabaseReferencesUserResourcePool" MemberMonitor="Microsoft.Azure.ManagedInstance.Monitor.UserResourcePool.MemoryConsumption">
<Category>PerformanceCollection</Category>
<Algorithm>WorstOf</Algorithm>
<MemberUnAvailable>Error</MemberUnAvailable>
</DependencyMonitor>