MSSQL 2014: CLR(공용 언어 런타임)에 대해 메모리를 할당하지 못했습니다.

Microsoft.SQLServer.2014.Failed_to_allocate_memory_for_Common_Language_Runtime__CLR__5_Rule (Rule)

SQL Server가 CLR에 대해 메모리를 할당할 수 없는 경우 규칙이 알림을 트리거합니다.

Knowledge Base article:

요약

이 오류는 SQL Server가 시작되고 있을 때 발생할 수 있습니다. 시작 시퀀스 동안 SQL Server는 공용 언어 런타임 실행을 위해 몇 KB 정도의 메모리가 필요합니다. 이 메모리를 사용할 수 없으면 SQL Server가 시작되지 못할 수 있습니다.

원인

이 오류는 메모리가 부족하여 CLR을 실행할 수 없을 때 발생합니다.

해결 방법

먼저 서버를 다시 시작해 보십시오. SQLServer를 시작하지 못하는 경우 Windows 시스템 및 응용 프로그램 로그를 확인하여 시스템 오버로드 또는 메모리 압력과 관련된 오류가 있는지 파악하십시오. 하드웨어 문제가 없는지 확인합니다. 사용 가능한 메모리 양을 늘립니다. 컴퓨터를 다시 시작하고 SQL Server를 다시 시작합니다. 문제가 계속 발생하면 제품 공급업체에 문의하십시오.

재정의 가능한 매개 변수

이름

설명

기본값

사용

워크플로를 사용하거나 사용하지 않도록 설정합니다.

우선 순위

알림 우선 순위를 정의합니다.

1

심각도

알림 심각도를 정의합니다.

2

Element properties:

TargetMicrosoft.SQLServer.2014.DBEngine
CategoryEventCollection
EnabledTrue
Event_ID6289
Event Source$Target/Property[Type="SQL2014Core!Microsoft.SQLServer.2014.DBEngine"]/ServiceName$
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
MSSQL 2014: CLR(공용 언어 런타임)에 대해 메모리를 할당하지 못했습니다.
{0}
Event LogApplication
CommentMom2014ID='{60AA6DE5-6CAA-4E24-B038-972C9ED6AC6A}';MOM2014GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}

Member Modules:

ID Module Type TypeId RunAs 
_F6DA1507_12AF_11D3_AB21_00A0C98620CE_ DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SQLServer.2014.Failed_to_allocate_memory_for_Common_Language_Runtime__CLR__5_Rule" Target="SQL2014Core!Microsoft.SQLServer.2014.DBEngine" Enabled="true" ConfirmDelivery="true" Remotable="true" Comment="Mom2014ID='{60AA6DE5-6CAA-4E24-B038-972C9ED6AC6A}';MOM2014GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="_F6DA1507_12AF_11D3_AB21_00A0C98620CE_" Comment="{F6DA1507-12AF-11D3-AB21-00A0C98620CE}" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>6289</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="SQL2014Core!Microsoft.SQLServer.2014.DBEngine"]/ServiceName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SQLServer.2014.Failed_to_allocate_memory_for_Common_Language_Runtime__CLR__5_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>Event ID: $Data/EventDisplayNumber$. $Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>