SQL Server will consume as much RAM as you allow it using the max memory setting. It will relinquish some if there is pressure from other processes/services on the same server, so not sure what you are doing that isn't 'requesting' the memory.
It sounds like you haven't configured a max memory setting, and it would probably be wise to do so. If this is a dedicated SQL Server, a figure of around 28GB should be fine, allowing 6GB for OS and other processes, but it depends on your workload.
- [Glenn Berry - Suggested Max Memory Settings for SQL Server 2005/2008][3]
- [MSDN - `sp_configure`][1]
- [MSDN - Server Memory Options][2]
There may also be some pages locked in memory :
[1]: http://msdn.microsoft.com/en-us/library/ms188787.aspx
[2]: http://msdn.microsoft.com/en-us/library/ms178067.aspx
[3]: http://sqlserverperformance.wordpress.com/2008/08/06/suggested-max-memory-settings-for-sql-server-20052008-2/
↧