BUG: Concurrent Cursors and Stored Procedures Against the Same Table May Cause an Access Violation

ID: Q178285


The information in this article applies to:
  • Microsoft SQL Server version 6.5

BUG #: Windows NT: 17371 (6.5)

SYMPTOMS

Concurrent cursor and stored procedure access to the same table may result in a handled access violation (AV) and possibly cause the server to stop responding. The problem is specific to SQL Server running on a SMP computer.


WORKAROUND

To work around this problem, do either of the following:

  • Reduce the concurrency of cursor and stored procedure access to the same table.

    -or-


  • Increase the amount of memory for the procedure cache.



STATUS

Microsoft has confirmed this to be a problem in SQL Server version 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

This problem has only been observed when procedure cache is heavily used and is near its capacity. The client application may receive the following error before the AV:

Msg 701, "There is insufficient system memory to run this query."

Additional query words: hang hung freeze frozen lock locked up crash crashed st proc stproc

Keywords : kbbug6.50
Version : WINNT:6.5
Platform : winnt
Issue type : kbbug


Last Reviewed: April 16, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.