Solved

SBS Monitoring and SQL not freeing up memory

Posted on 2009-04-03
3
600 Views
Last Modified: 2012-05-06
Hi,

It's not a major problem, but I've noticed recently, that each day, the SBS Monitoring database instance on SQL Express 2005 seems to use more and more memory and won't free it up. After about 3 days, the process is up to 1.7gb and affects the performance of the server and I have to kill the running process to free up the memory. It then begins again...

Is this to do with the daily reports generated from the SBS on performance and health? Is there anything i can do to get it to release the memory without me having to kill the process manually?

Thanks

Paul
0
Comment
Question by:the1paulcole
3 Comments
 
LVL 30

Accepted Solution

by:
nmcdermaid earned 250 total points
ID: 24073533
You can set a parameter in SQL to limit the maximum amount of memory that it uses.
You can do this from the command line using SQLCMD or using a GUI tool.
The GUI tool is called SQL Server Management Express (its a free downlaod from Microsoft)
Once you have downloaded and installed SSMSE, right click on the server, go to properties, go to the memory tab and reduce the memory to, say, 1024. You might want to revise this until you get the performance you want.
 
A nicer way than killing the process is just restart the service. But anyway this max memory setting should stop it peaking out.

SQLServerMemory.jpg
0
 
LVL 1

Author Closing Comment

by:the1paulcole
ID: 31566277
Thanks for this. One of the most informative responses I've had on this site to date.
0
 

Expert Comment

by:fi3c
ID: 25142522
I had the same problem with our server.  This solution works and keeps the memory down to whatever level you set it at.  Score of 10 imo.  Thanks
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Caste datetime 2 64
How can I exclude some wording in a like statement? 39 75
Strange msg in the SSMS pane 13 58
Migration path from SBS 2011 to ?? 4 106
by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question