Client update failed to allocate memory

Citrix.PresentationServer.ClientUpdateFailedToAllocateMemory.Rule (Rule)

Raises an alert if an automatic client update component failed to allocate memory

Knowledge Base article:

Citrix ® Management Pack

Summary

The client update component on the server ran out of resources while processing a client update. The session will continue without automatic client update. This event indicates a serious shortage of virtual memory that may affect server stability.

 
Causes

The server's client update component allocates virtual memory for internal use while examining the client update database. This event is caused by the operating system not supplying enough memory.

The client update component requires only a moderate amount of memory. However, this is proportional to the number of clients in the update database and to the number of files that each client uses.

 
Resolutions

This error is caused by a severe memory shortage, so adding more physical memory to the server will help to prevent it from occurring again. Also:

  • Check the server for other events indicating resource shortage
  • Terminate unnecessary applications to reduce virtual memory use

In extreme cases, you can reduce the number of clients in the server's update database to reduce the amount of memory required for client updates.

 
External Knowledge Sources

The following sources of information can be helpful when dealing with this error:

Or search the Citrix knowledge base for more information.

 
Sample Event

The server does not have enough memory to run Client Manager.

 
© 2002-2008 Citrix Systems, Inc. All rights reserved.

Element properties:

TargetCitrix.PresentationServer.ManagedServer
CategoryAlert
EnabledTrue
Event_ID1009
Event SourceCLTMGR
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
Client update failed to allocate memory
The automatic client update component failed to allocate enough memory while parsing the client update database.
Event LogApplication

Member Modules:

ID Module Type TypeId RunAs 
EventCollectionDS DataSource Microsoft.Windows.EventProvider Citrix.PresentationServer.CitrixAdministratorAccount
GenerateAlert WriteAction System.Health.GenerateAlert Citrix.PresentationServer.CitrixAdministratorAccount

Source Code:

<Rule ID="Citrix.PresentationServer.ClientUpdateFailedToAllocateMemory.Rule" Enabled="true" Target="Citrix.PresentationServer.ManagedServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="EventCollectionDS" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1009</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>CLTMGR</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name='Citrix.PresentationServer.ClientUpdateFailedToAllocateMemory.Rule.AlertMessage']$</AlertMessageId>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>