dbTalk Databases Forums  

memory usage and "lock pages in memory"

microsoft.public.sqlserver.setup microsoft.public.sqlserver.setup


Discuss memory usage and "lock pages in memory" in the microsoft.public.sqlserver.setup forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
MRWildiac
 
Posts: n/a

Default memory usage and "lock pages in memory" - 09-15-2009 , 04:32 AM






I've got an SQL Server 2005 Sp2 where I have configured the "Loack pages in
memory" option (http://msdn.microsoft.com/en-us/library/ms190730.aspx).
When I now look at memory usage in task manager the sqlsrv.exe process
consumes about 200000k of memory. But when I look in performance monitor,
with the "Target Server Memory" counter and "Total Server Memory" Counter,
I've got 21505024KB allocated, and this is the same as I've configured as max
memory in the SQL Server.
Why this discrepency?

Reply With Quote
  #2  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: memory usage and "lock pages in memory" - 09-15-2009 , 09:08 AM






Task manager does not see all the memory that SQL Server can and is not the
proper tool for monitoring it. Always use perfmon.

Andrew J. Kelly SQL MVP
Solid Quality Mentors

"MRWildiac" <MRWildiac (AT) discussions (DOT) microsoft.com> wrote

Quote:
I've got an SQL Server 2005 Sp2 where I have configured the "Loack pages
in
memory" option (http://msdn.microsoft.com/en-us/library/ms190730.aspx).
When I now look at memory usage in task manager the sqlsrv.exe process
consumes about 200000k of memory. But when I look in performance monitor,
with the "Target Server Memory" counter and "Total Server Memory" Counter,
I've got 21505024KB allocated, and this is the same as I've configured as
max
memory in the SQL Server.
Why this discrepency?
--

Reply With Quote
  #3  
Old   
Chris Wood
 
Posts: n/a

Default Re: memory usage and "lock pages in memory" - 09-15-2009 , 10:19 AM



This blog entry will help you understand
http://blogs.msdn.com/psssql/archive...rking-set.aspx

Chris

"MRWildiac" <MRWildiac (AT) discussions (DOT) microsoft.com> wrote

Quote:
I've got an SQL Server 2005 Sp2 where I have configured the "Loack pages
in
memory" option (http://msdn.microsoft.com/en-us/library/ms190730.aspx).
When I now look at memory usage in task manager the sqlsrv.exe process
consumes about 200000k of memory. But when I look in performance monitor,
with the "Target Server Memory" counter and "Total Server Memory" Counter,
I've got 21505024KB allocated, and this is the same as I've configured as
max
memory in the SQL Server.
Why this discrepency?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.