其他进程占用的内存

Microsoft.SQLServer.2014.ReportingServices.UnitMonitor.Instance.MemoryUsageOnServer (UnitMonitor)

如果除 SSRS 之外的其他进程占用的内存不允许 SSRS 分配 WorkingSetMinimum 设置规定的内存量,监视器将发出警报。监视器将使用以下公式确定状态:
({WorkingSetMinimum} + {其他进程占用的内存})*100/{总内存} < {阈值(\%)}

Knowledge Base article:

摘要

如果除 SSRS 之外的其他进程占用的内存不允许 SSRS 分配 WorkingSetMinimum 设置规定的内存量,监视器将发出警报。监视器使用以下公式确定状态:

({WorkingSetMinimum} + {其他进程占用的内存})*100/{总内存} < {阈值(%)}

原因

Reporting Services 可以因多种原因需要大量内存,这些原因包括:

如果有占用内存的其他应用程序在同一服务器上运行,内存可能会有压力。

解决方法

您可以考虑为服务器增加内存或从服务器中删除其他应用程序。

以下文章更详细地讨论了 Reporting Services 的内存配置 - http://technet.microsoft.com/zh-cn/library/ms159206.aspx

在 Reporting Services 中配置服务器属性: Configure Server Properties

可替代参数

名称

说明

默认值

已启用

 

1

生成警报

 

间隔(秒)

运行工作流的重复间隔时间(秒)。

900

同步时间

 

 

阈值

如果除 SSRS 之外的其他进程占用的内存和 WorkingSetMinimum 之和(以占服务器总内存的百分比表示)超过了阈值,监视器将发出警报。

100

Element properties:

TargetMicrosoft.SQLServer.2014.ReportingServices.Instance
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SQLServer.2014.ReportingServices.MonitorType.Instance.MemoryUsageOnServer
RemotableTrue
AccessibilityPublic
Alert Message
SSRS 2014: 其他进程使用的内存过多
其他进程可能影响 SSRS 的性能。
服务器上的总内存: {0} GB
SSRS WorkingSetMinimum: {1} GB
SSRS WorkingSetMaximium: {2} GB
SSRS 占用的内存: {3} GB ({4}\%)
其他进程占用的内存: {5} GB ({6}\%)
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2014.ReportingServices.UnitMonitor.Instance.MemoryUsageOnServer" Accessibility="Public" Enabled="true" Target="SQLRS!Microsoft.SQLServer.2014.ReportingServices.Instance" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2014.ReportingServices.MonitorType.Instance.MemoryUsageOnServer" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2014.ReportingServices.UnitMonitor.Instance.MemoryUsageOnServer.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</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>
<AlertParameter5>$Data/Context/Property[@Name='MemoryUsagePercent']$</AlertParameter5>
<AlertParameter6>$Data/Context/Property[@Name='MemoryUsageByOtherProcessGB']$</AlertParameter6>
<AlertParameter7>$Data/Context/Property[@Name='MemoryUsageByOtherProcessPercent']$</AlertParameter7>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Warning" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="Success" MonitorTypeStateID="Success" HealthState="Success"/>
</OperationalStates>
<Configuration>
<Threshold>100</Threshold>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
</Configuration>
</UnitMonitor>