FIX: Error 701/Server Unresponsive on Cursor Queries w/UPDATELast reviewed: April 9, 1997Article ID: Q158486 |
The information in this article applies to:
15624 (6.5) SYMPTOMSWhen you run cursor queries that do an UPDATE using the WHERE CURRENT OF <cursor> clause, the server runs out of memory, even though the cursors are closed properly. This leads to the following error message (701):
There is insufficient system memory to run this query.After that, the server becomes very slow for normal connections.
CAUSECursor operations that do an UPDATE using the WHERE CURRENT OF <cursor> cause a memory leak. One page of memory allocated on each call is not reclaimed until the connection is dropped.
WORKAROUNDTo work around this problem, do either of the following:
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server versions 6.0 and 6.5. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.
MORE INFORMATIONThe server eventually comes to a very slow, unusable state from which it must be recycled. The following is additional information for SQL Server version 6.5:
If SQLTrace is running, no new connections to the server are possible.The following is additional information for SQL Server version 6.0:
The error 701 sometimes leads to a handled access violation (AV). |
Additional query words: cursors memory leak av
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |