473,769 Members | 5,877 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why the memory usage of SqlServer doesn't go down

Hi Gurus,

Our system is using SqlServer 2005 on XP.( On my machine,only this
application access SQLServer.) The sqlserver memory is configured to
128MB (Min)~512 MB(Max)

After our system get started, sqlserver takes about 100M memory. After
the system runs for a while, the memory used by sqlserver goes up to
512MB. Then we exit our application and expect the memory usage of
SqlServer could be dropped down to the min value. Unfortunately, it
seems SqlServer never release any memory until we restart it.

I thought dynamic memory configuration means that SQLServer can auto
shrink memory usage if there is no more database accessing. But based
on my observation, SQLserver just holds all the memory . :( How can
we let the sqlServer shrink the memory usage accordingly to workload?
I do appreciate for your help!

Best regards,

Jennifer

Aug 2 '06 #1
2 2921
Stu
Not trying to be harsh, but you thought wrong :) SQL Server won't
release the memory back to the min configuration until Windows needs
it; are you having memory issues?

Stu
Jenniflower wrote:
Hi Gurus,

Our system is using SqlServer 2005 on XP.( On my machine,only this
application access SQLServer.) The sqlserver memory is configured to
128MB (Min)~512 MB(Max)

After our system get started, sqlserver takes about 100M memory. After
the system runs for a while, the memory used by sqlserver goes up to
512MB. Then we exit our application and expect the memory usage of
SqlServer could be dropped down to the min value. Unfortunately, it
seems SqlServer never release any memory until we restart it.

I thought dynamic memory configuration means that SQLServer can auto
shrink memory usage if there is no more database accessing. But based
on my observation, SQLserver just holds all the memory . :( How can
we let the sqlServer shrink the memory usage accordingly to workload?
I do appreciate for your help!

Best regards,

Jennifer
Aug 2 '06 #2
Hi Stu,

I got you point. Because after we exit our system, there is no memory
issues , SQLServer can just hold 512M memory. To be simple, SQLServer
always tries
to keep all acquired memory until OS runs out of memory and asks it to
relinguish
some to other applications.

Thanks !

Jennifer,

Stu wrote:
Not trying to be harsh, but you thought wrong :) SQL Server won't
release the memory back to the min configuration until Windows needs
it; are you having memory issues?

Stu
Jenniflower wrote:
Hi Gurus,

Our system is using SqlServer 2005 on XP.( On my machine,only this
application access SQLServer.) The sqlserver memory is configured to
128MB (Min)~512 MB(Max)

After our system get started, sqlserver takes about 100M memory. After
the system runs for a while, the memory used by sqlserver goes up to
512MB. Then we exit our application and expect the memory usage of
SqlServer could be dropped down to the min value. Unfortunately, it
seems SqlServer never release any memory until we restart it.

I thought dynamic memory configuration means that SQLServer can auto
shrink memory usage if there is no more database accessing. But based
on my observation, SQLserver just holds all the memory . :( How can
we let the sqlServer shrink the memory usage accordingly to workload?
I do appreciate for your help!

Best regards,

Jennifer
Aug 2 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
14850
by: Thue Tuxen Sørensen | last post by:
Hi everybody ! I´m maintaining a large intranet (approx 10000 concurrent users) running on one IIS box and one DB box with sqlserver 2000. Currently there is 2,5 GB Ram, 1 1400 mhz cpu and 2 scsi disks installed on the db box. Sqlserver is set to use max 1,4 GB RAM, and the sqlserver does not seem to be using it all.
4
7211
by: Mee Yamo | last post by:
Fellas!! This is a very complicated one and it took me a few days to figure out exactly what's going on, but here's the final story: I have a production environment running on .NET with a SQL Server (2000, SP3). The SQL Server is on a dedicated Proliant computer with 2GB RAM (the actual SQLServer.exe process has dynamic memory assignment and can reach up to 1.6GB RAM). Nothing else is running on that specific computer.
0
2015
by: mjkahn | last post by:
I'm running IIS 5.0 under Windows 2000 Server. My ASP (VBscript) code instantiates and uses some objects implemented in custom-written Visual Basic 6 DLLs. (Thanks to a previous thread, we no longer store those objects in Session variables.) Application Protection for this site's Virtual Directory is set to Medium (Pooled). I'm using the Microsoft Web Application Stress Tool to monitor performance and make sure database connections...
12
6748
by: Bardolator | last post by:
I have a stand alone Java application that uses MS SQL Server 2000 and Microsoft JDBC ODBC drivers to access it. Before I run the application, I open the task Manager to monitor the memory used by the SQL Server. Generally it begins 21 MB and very soon it reaches around 100 MB if I do some operations in the application. The thing is that even if I close the application, the memory taken by SQL Server doesn't go down. What could be the...
25
2386
by: Zeng | last post by:
I finally narrowed down my code to this situation, quite a few (not all) of my CMyClass objects got hold up after each run of this function via the simple webpage that shows NumberEd editbox. My memory profile shows that those instances survive 3 rounds of GC collections - it's not what I expected. In my real code, CMyClass occupies big amount of memory and they all share one stance of another class that I don't have enough memory hold...
8
8554
by: Adrian | last post by:
Hi I have a JS program that runs localy (under IE6 only) on a PC but it has a memory leak (probably the known MS one!) What applications are there that I could use to look at the memory usage of each object within my JS app to help locate my problem? Thanks
3
3527
by: san | last post by:
we cannot stop the application from increasingly use memory. The CRM Worker process will continually consume memory but not release it back to the system. Please research into how to make the application consume less memory or at least release the memory when it is done processing a request. It seem like you can be logged in for any amount of time without an issue, I've been told you shouldn't be logged out until idle for 2 hours but...
3
1240
by: sebapi | last post by:
Hello! I have windows forms app (C# 2.0) which take about 60MB ram. I noticed when I minimize it then memory usage drops to about 4MB. When I maximize it then memory usage is about 16MB and then it is constant. What is the reason of such behaviour ? Regards. Sebastian
17
7968
by: Cesar | last post by:
Hello people. I'm having a Winform app that contains a webbrowser control that keeps navigating from one page to another permanentrly to make some tests. The problem I'm having is that after a while, the application is using more than 100 or 150 Mb in RAM, and if I let it continue, it can leave the system without memory. I've been watching in some pages that other people has the same problem with this control when keep navigating for a...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10222
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10050
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9999
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8876
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3967
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.