Error 701

Troubleshooting SQL Server

Troubleshooting

Error 701

Severity Level 19
Message Text

There is insufficient system memory to run this query.

Explanation

The memory requirements for the set of tasks Microsoft® SQL Server™ is attempting to perform exceeds the amount of available memory. Either increase the amount of server memory or reduce the server workload.

Action

To decrease the server workload, reduce the number of users currently using SQL Server. To prevent additional users from logging in to SQL Server, pause the server. For more information, see Pausing and Resuming SQL Server.

To increase server memory:

  1. Check the settings for both min server memory (MB) and max server memory (MB).

    If max server memory (MB) is a value close to the value of min server memory (MB), then increase the max server memory (MB) value.

  2. Check the size of the virtual memory paging file.

    If possible, increase the size of the file.

  3. Shut down any other applications running, if applicable, on the server.

  4. View the current memory usage information in Windows NT Performance Monitor.

    To view current memory usage information in preparation for tuning memory configuration, use the Total Server Memory (KB) Performance Monitor Counter of the SQLServer:General Statistics object.

  5. Add additional memory to the server.

See Also

Errors 1 - 999

Programming Stored Procedures

Server Memory Options

SQL Server: General Statistics Object