Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Server taking up too much memory

Status
Not open for further replies.

apollo11

Programmer
Apr 5, 2001
35
US
My SQL Server is taking around 1 gb of memory!
It is running 18 databases apart from the shipped dbs and populating the full-text search catalogs for some 5 databases. But still is it normal? When it is not running the repopulation of the full text catalogs it consumes around 700 MBs. I feel it's kind of high. Someone please advise.
Thanks
 
According to SQL BOL...

SQL Server 7 will use dynamically control memory usage so that about 5MB of memory is free all the time. SQL 2000 also dynamically configures and controls memory usage. It shrinks and grows buffer cache to maintain between 4 to 10 MB free memory.

So, it is not unusual for SQL Server to use lots of memory. You can control the maximum amount used with server settings though this isn't recommended except under certain cicumstances. See the following pages for more memory configuration info:

Server Memory Options

Effects of min and max server memory

Optimizing Server Performance Using Memory Configuration Options

Monitoring Memory Usage

Terry L. Broadbent
Programming and Computing Resources
 
I find it hard to believe how does SQL Server end up using 1.3 GBs of memory! Would reducing the number of databases have any effect on this? So does that mean that no matter how high the memory avail on the machine, SQL server will always end up using all except the last 4 - 10MB (from one of the articles)?
 
SQL Server uses most memory for data cache as suggested by fluteplr. I suppose if all your data fit into cache and required less than 1GB, SQL may not use all the memory. SQL Server uses memory very efficiently. You want it to use a lot of memory for cache because that is one of the main performance factors.

I gave you some links that told how to set options for memory usage. You can restrict the amount of memory used by SQL Server if you feel that is necessary.

I recommend tht you do not run SQL Server on Servers that run other processes such as IIS. You should never install SQL on a Domain Controller. Dedicate servers to SQL Server. Then you don't need to worry about how much memory SQL Server uses. Terry L. Broadbent
Programming and Computing Resources
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top