Re: sqlservr.exe memory usage



Raziq Shekha (raziq_shekha@xxxxxxxxxxxx) writes:
On all of my SQL servers (2000 with SP3), when I go to task manager and
look at memory usage, sqlservr.exe is always at 1.7gigs. If I reduce
the maximum to let's say 1 gig it will go down to 1 gig. But if it is
even at 2gigs or 3 gigs it will be showing 1.7 gigs. Why? Is is ok to
reduce the memory usage of sqlservr.exe?

I'm not really sure what the question is, so I answer both.

1) Why does SQL Server take so much memory? SQL Server is designed to
grab as much memory it can. The more memory it has, the more data it
can have in cache, which is good for quick response times. If other
processes need memory, SQL Server will yield memory, but it may not
yield fast enough. Therefore, if other applications are running on
the machine, you may want to constrain how much memory SQL Server
may use. The typical example is when you run SQL Server on a
developer workstation. If SQL Server runs on a dedicated server, there
is no reason to set a max memory limit.

2) Why is SQL Server not using more than 1.7 GB? Most probably, you
running Standard Edition which does not support more than 2GB of
memory. If you want SQL Server you to use more memory, you need to
upgrade to Enterprise Edition. Or SQL 2005.


--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: FTS Performance in SQL 2005
    ... we had no end of problems with SQL FTS. ... Looking for a SQL Server replication book? ... The Memory Usage and VM Size never increase over about 65 MB and 20MB. ... cost relative to the whole batch, ...
    (microsoft.public.sqlserver.fulltext)
  • Re: FTS Performance in SQL 2005
    ... we had no end of problems with SQL FTS. ... Looking for a SQL Server replication book? ... The Memory Usage and VM Size never increase over about 65 MB and 20MB. ... cost relative to the whole batch, ...
    (microsoft.public.sqlserver.fulltext)
  • RE: Print Spooler Error 14
    ... I understand that it appears the spooler is not able to start. ... >SQL server should be disabled, but I will verify that fact. ... Click Mem Usage to find out which process caused high Memory usage. ...
    (microsoft.public.windows.server.sbs)
  • RE: Consolidating instances of SQL server
    ... SQL Server is designed to use memory. ... The maximum amount of memory SQL Server can use varies depending on your ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • RE: The DBMS returned an unspecified error.
    ... | We are using Microsoft's JDBC driver for Java database access to SQL ... | Insufficient memory available. ... even though SQL Server 2000 is configured to use up to the ... the problem is most likely in the MemToLeave ...
    (microsoft.public.sqlserver.jdbcdriver)