Bobcares

SQL Server Error 802 – How to resolve

by | Mar 4, 2022

SQL Server Error 802 can be resolved easily with the Bobcares by your side. 

At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Services.

Let’s take a look at how our Support Team is ready to help customers with SQL Server Error 802.

What is SQL Server Error 802?

One of our customers had the misfortune of running into the following SQL server error message recently:

SQLServer Error: 802, There is insufficient memory available in the buffer pool. [SQLSTATE 42000]

After careful analysis, our Support Techs have come to the conclusion that this specific error is due to a lack of memory for buffer pool allocation or buffer pool restriction when it comes to using memory beyond a particular limit.

SQL Server Error 802

We can resolve this by increasing the memory allocation to the SQL Server System. Fortunately, our Support Team is well-equipped to deal with errors like these.

How to resolve SQL Server Error 802

  1. First, head to the system memory utilization and check if any other application is using more memory.
  2. Then, check the min server memory & max server memory settings and ensure there is sufficient memory.

    We can access these settings by executing sp_configure procedure. Our Support Team recommends allocating 80% of the server memory to the SQL server via the max server memory setting.

  3. Next, confirm Lock Pages in memory are enabled on the SQL Server Instance.
  4. After that, it is time to validate the SQL Server version. For instance, if we are using SQL Server 2012, it offers only 64GB RAM. In case we allocate more than 64GB RAM, we are most likely to run into SQL Server Error 802.

    Hence, it is wise to reduce the max server memory value or upgrade the SQL Server to avoid the error.

  5. Then, take a close look at the SQL Server workload and answer the following questions:
    • Does the error occur during a particular time frame or operation?
    • Does the error pop up when a specific job or number of adhoc transactions go up?

    We can collect these details via memory clerks as well as DBCC MEMORYSTATUS T-SQL statements.

  6. Now, it is time to gather memory-related counters like SQL Server: Memory Manager, SQL Server: Buffer Manager,  Page Life Expectancy, and so on. You can refer to this article for further reference.
  7. After that, review the sp_configure setting min memory per query.
  8. Next, clear the cache with these DBCC commands like DBCC FREESYSTEMCACHE, DBCC FREESESSIONCACHE and DBCC FREEPROCCACHE.

Additional Troubleshooting Tips

Here are a few additional troubleshooting tips by our skilled Support Engineers to resolve this error:

  • Try increasing Server memory as well as max server memory in sp_configure.
  • Another option would be to lower the workload on this specific SQL Server instance via offloading. We can also segregate transactions during off-peak hours.

[Looking for a solution to another query? We are just a click away.]

Conclusion

In brief, our skilled Support Engineers at Bobcares demonstrated how to go solve SQL Server Error 802.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF