SSRS インスタンスによって消費されるメモリ

Microsoft.SQLServer.2012.ReportingServices.UnitMonitor.Instance.MemoryUsageByInstance (UnitMonitor)

SSRS プロセスによるメモリ使用量が WorkingSetMaximum 設定で定義された制限に近付くと、モニターは警告を出します。

Knowledge Base article:

概要

SSRS プロセスによるメモリ使用量が WorkingSetMaximum 設定で定義された制限に近付くと、モニターは警告を出します。

原因

Reporting Services はさまざまな理由で大量のメモリを消費することがあります。以下に理由をいくつか挙げます。

解決方法

The following article provides information about memory configuration for the reporting services -

Reporting Services のサーバーのプロパティの構成: サーバーのプロパティの構成

上書き可能なパラメーター

名前

説明

既定値

有効

Enables or disables the workflow

1

アラートを生成する

Defines whether the workflow generates an Alert

はい

間隔 (秒)

ワークフローを実行する定期的な実行間隔 (秒)。

900

警告しきい値

監視されている値が警告しきい値と重大なしきい値の間になると、モニターの状態が警告に変わります。

80

同期時刻

The synchronization time specified by using a 24-hour format. May be omitted.

 

重大なしきい値

監視されている値が重大なしきい値を超えると、モニターの状態が重大に変わります。

90

Element properties:

TargetMicrosoft.SQLServer.2012.ReportingServices.Instance
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SQLServer.2012.ReportingServices.MonitorType.Instance.MemoryUsageByInstance
RemotableTrue
AccessibilityPublic
Alert Message
SSRS 2012: メモリ使用量が限界に達しています
SSRS が使用するメモリ ({3} GB) がしきい値を超えました。
WorkingSetMaximum: {2} GB
WorkingSetMinimum: {1} GB。
サーバー上の合計メモリ: {0} GB
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2012.ReportingServices.UnitMonitor.Instance.MemoryUsageByInstance" Accessibility="Public" Enabled="true" Target="SQLRS!Microsoft.SQLServer.2012.ReportingServices.Instance" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2012.ReportingServices.MonitorType.Instance.MemoryUsageByInstance" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2012.ReportingServices.UnitMonitor.Instance.MemoryUsageByInstance.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='TotalPhysicalMemoryGB']$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name='WorkingSetMinimumGB']$</AlertParameter2>
<AlertParameter3>$Data/Context/Property[@Name='WorkingSetMaximumGB']$</AlertParameter3>
<AlertParameter4>$Data/Context/Property[@Name='MemoryUsageGB']$</AlertParameter4>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Error" MonitorTypeStateID="Above" HealthState="Error"/>
<OperationalState ID="Warning" MonitorTypeStateID="Between" HealthState="Warning"/>
<OperationalState ID="Success" MonitorTypeStateID="Below" HealthState="Success"/>
</OperationalStates>
<Configuration>
<LowerThreshold>80</LowerThreshold>
<UpperThreshold>90</UpperThreshold>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
</Configuration>
</UnitMonitor>