Troubleshoot SQL Server running out of memory

Source: Internet
Author: User
Tags domain server
If you encounter a situation where the SQL Server service causes memory to continue to expand the final system panic, please follow the methods below.

Principle: The dynamic memory allocation mechanism introduced by SQL Server 2000 generally does not reclaim memory well, and if the computer does not shut down, memory exhaustion may occur. You can choose to shut down the machine once a week to avoid it, or to suppress the growth of memory in the following ways.

1. Start SQL Enterprise Manager in-microsoft SQL server-Enterprise Manager on the server
2. After startup, open the console tree on the right: Console Root \microsoft SQL Server\SQL Server group \ (Local).
3. Right-click on the (Local) node and select the Properties menu to see a SQL Server properties (configuration) Form
4. Select the "Memory" tab to open the Memory configuration page. Limit the maximum amount of memory to a certain range, typically in the following proportions:
A) 80-90% for total memory if only for the database server
b) If you are a domain server, typically 60-70%
c) If you are also a Web server, the maximum recommended is 60%
5. Click OK when you are finished, and then restart the SQL Server service for it to take effect.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.