views:

424

answers:

2

Hello everyone,

I am using SQL Server 2008 Enterprise. SQL Server 2008 always tries to eat as much as memory as it could. Any ways to configure per database or per instance or per server level max memory usage of SQL Server 2008?

thanks in advance, George

+2  A: 

Are you sure?: SQL SERVER 2008 - Memory Leak while storing Millions of records

If you really must:

sp_configure 'show advanced options',1
reconfigure
GO
sp_configure 'max server memory',100
reconfigure
GO
gbn
I can only configure per server level? No instance or database level?
George2
Instance level only
gbn
So, you mean connect to one SQL Server instance, and execute the commands above, will restrict current connected instance memory?
George2
yes. But why?????
gbn
Cool, question answered!
George2
+1  A: 

The purpose of memory is to be used to speed up data access, not to sit around looking pretty (and empty). SQL Server should use as much RAM as it can get its hand(les) on for caching in order to make the best use of available resources.

With modern server applications it's best, 99.99% of the time, to let them manage their resources as designed.

phoebus
I run IIS on the same machine of SQL Server before of short of machine. I do not care speed currently, just for integration purpose. Any ideas to restrict the max memory used?
George2