FIX: Error message when you use SQL Server Service Broker in SQL Server 2005: "Failed Virtual Allocate Bytes: FAIL_VIRTUAL_RESERVE 589824"

Symptoms

Consider the following scenario.
  • In Microsoft SQL Server 2005, you have an application that uses the SQL Server Service Broker.
  • In the Service Broker conversation, you create a dialog by using a certificate authentication for transport security.
  • The initiator sends a message to the target periodically.
  • The time interval between the sent messages is longer than the connection time-out value that is configured for the Service Broker conversation.
In this scenario, after some time, you may find the server runs out of memory. And, you receive the following error message:
Failed Virtual Allocate Bytes: FAIL_VIRTUAL_RESERVE 589824

Cause

This problem occurs because a memory leak occurs when the Service Broker establishes a connection. The memory leak may occur if certificate based authentication is used for a Service Broker dialog. The Service Broker dialog closes when the connection times out. When a later message is sent to the conversation target, the memory leak occurs again. Therefore, after some time, the server runs out of memory.

Resolution

Service pack information

To resolve this problem, obtain the latest service pack for SQL Server 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
913089 How to obtain the latest service pack for SQL Server 2005

Workaround

To work around this issue, use Windows-based authentication for the Service Broker dialog security.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in SQL Server 2005 Service Pack 3.

More Information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Özellikler

Makale No: 959007 - Son İnceleme: 15 Ara 2008 - Düzeltme: 1

Geri bildirim