Sqlserver-dba.com

Subscribe

Subscribe to RSS feed  Follow @jackvamvas - Twitter

Enjoy this post? Enter your email address for updates on new posts:

Delivered by FeedBurner

Email +Jack Vamvas at jack@sqlserver-dba.com

SQLServer-DBA.com Links

Subscribe to newsletter

Dba_db2_button

Powered by TypePad
Cannot use Large Page Extensions: lock memory privilege was not granted.

02 July,2012 by Jack Vamvas

During investigating a performance issue – I had to restart the SQL Server Instance. On the restart this message appeared in the SQL Server Logs:

 Cannot use Large Page Extensions: lock memory privilege was not granted.

 

 How to fix the problem? Grant “Lock pages in memory” privilege to the SQL Server service account

 So how can you fix this problem? Simply give the “Lock pages in memory” privilege to the SQL Server service account:

Option 1

Powershell,PSEexec and lock pages in memory – made easy

Option 2

1) On the Start menu, click Run. In the “Open” box, type gpedit.msc.
2)  On the “Group Policy” console, expand Computer Configuration, and then expand Windows Settings. 3) Expand Security Settings, and then expand Local Policies.
4) Select the User Rights Assignment folder.
5) In the right details pane, double-click Lock pages in memory.
6)Add the relevant account to the permissions list on this policy, the account should be the start up account for the SQL Service
7) Restart the SQL Server instance

 


Author: Jack Vamvas (http://www.sqlserver-dba.com)

Enjoy this post? Enter your email address for updates on new posts:

Delivered by FeedBurner

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment


sqlserver-dba.com | SQL Server Performance Tuning | SQL Server DBA:Everything | FAQ | Contact|Copyright & Disclaimer