September 29, 2006 at 1:37 am
October 2, 2006 at 8:00 am
This was removed by the editor as SPAM
October 2, 2006 at 11:34 am
This is not a problem. SQL Server is designed to use up all of the memory available to it. It will not release the memory that it has claimed by design. If you truely need SQL Server to consume less memory, change the MAX Server Memory setting. Keep in mind that performance will decrease with less memory. Is there a reason why you want SQL Server to not use the 2GB?
October 4, 2006 at 3:18 am
Thank you for your reply..
actually my intention was not to make SQL Server use less than 2GB.. but the problem is that memory usage is getting increased all the way... no way its releasing any sort of memory..
ex:I observed SQL Server is consuming memory when I run queries or some other database related programs... but Even when I stop the program also I didnot see that SQL Server memory usage is getting reduced...????
Can you explain me this??????
October 4, 2006 at 3:35 am
When SQL Server performs some operation, it loads as many related pages as it requires into the memory. For example, suppose you are running a stored proceudre which forces full scan of a table, then all the data pages (and index pages) related to the referred table will be loaded into the memory. Also, the execution plan of the stored proc will also be loaded in the memory. All the sorting, comaring, temporary storage locations will be created in teh memory only. When the stored procedure is completed (and your operation is finished), the already loaded data pages remain there in the meory until they are replaced by the paes belonging to some other database object being used by some other process. However, if all the connections ceased, or SQL Server engine is restarted, the memory is cleared. Also, there are certain DBCC commands that can clear buffer cache. Read books online for details on these commands.
Pankaj Khanna
Database Administrator - SQL Server 2000
Keep hope to keep you intact...
October 4, 2006 at 11:16 am
In addition to Pankaj's response, the more memory you have on a server, the more space SQL Server can use for the different memory pools (cache). The reason SQL Server does this is for speed. It is much faster to retrieve data from the data cache than from disk.
October 5, 2006 at 1:01 am
October 5, 2006 at 1:02 am
October 5, 2006 at 4:29 am
The data is available though windows performance counters or master.dbo.sysperfinfo
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply