Navigation
50 users online :: 50 Guests and 0 Registered
Most popular articles 
- Why in my workgroup user names in statistics and ... (24922 views)
- HP Install Network Printer Wizard 4.0 - Configuring a ... (19833 views)
- How to configure Apache versions 1.3.x - 2.0.x ? ... (18151 views)
- The application failed to initialize properly (0xc0000142). Click on ... (16205 views)
- How to set proxy for my Windows XP computer ... (14464 views)
- Moving XP User Profile (13610 views)
- HP Jetdirect Print Servers - Installing and Configuring a ... (11808 views)
- Windows Vista: SuperFetch and External Memory Devices (9443 views)
- Shutdown is very slow - Windows XP (9151 views)
- Troubleshooting Windows XP Shutdown Issues (7894 views)
Latest articles 
- Error installing agent service causes Access Denied Error (2010-07-10 19:19)
- An error has occurred while establishing a connection from ... (2010-07-10 19:18)
- How do I install Security Tracker TSxx software for ... (2010-07-10 19:17)
- Terminal Server registry settings for applications (2010-07-10 19:15)
- What is riskware? (2010-07-10 19:13)
Sticky articles
See Also:
Common questions
ID #1112
How to limit RAM usage for SQL 2005 Express database?
This article applies to:
- HSLAB Print Logger
- HSLAB Access Control
- HSLAB Global Event Log
- SQL 2005 Express
Then see PID for the sqlservr.exe process which consumes large amount of RAM.
Then go to CMD Command prompt and enter this command:
tasklist /svc | find "sql"
You'll get something like this:
sqlservr.exe 1621 MSSQL$ACCESSCONTROL
sqlservr.exe 1725 MSSQL$PRINTLOGGER
sqlservr.exe 1725 MSSQL$PRINTLOGGER
sqlservr.exe 1725 MSSQL$GLOBALEVENTLOG
sqlwriter.exe 2950 SQLWriter?
Find the PID from Task Manager in the list from this command. Most probably it is MSSQL$PRINTLOGGER process which is guilty for large RAM consumption.
If this is true, you may limit it via Command prompt entering these commands (what you need to type is marked bold):
If this is true, you may limit it via Command prompt entering these commands (what you need to type is marked bold):
C:>osql -E -S YOURSERVERNAME\PRINTLOGGER
1> sp_configure 'show advanced options',1
2> reconfigure with override
3> go
Configuration option 'show advanced options' changed from 0 to 1. Run the
RECONFIGURE statement to install.
1> sp_configure 'max server memory',70?
2> reconfigure with override
3> go
DBCC execution completed. If DBCC printed error messages, contact your system
administrator.
Configuration option 'max server memory (MB)' changed from 2147483647 to 70.
Run the RECONFIGURE statement to install.
1> exit ?
Note: Replace YOURSERVERNAME and number 70 with values to match your system!
As you see, by design SBS monitoring database has a limit of 2147483647 MB of memory, so it can eat up practically all your RAM!
The 70 MB limit here shown is just a guess, and our recommendation is to use some value between 70 and 300, depending on your free RAM.
Have your Task Manager open and watch your sqlservr.exe process how it releases RAM immediately after you issue these commands. Many people have used this method and all are happy with server behaviour. No side effects have been noticed.
As you see, by design SBS monitoring database has a limit of 2147483647 MB of memory, so it can eat up practically all your RAM!
The 70 MB limit here shown is just a guess, and our recommendation is to use some value between 70 and 300, depending on your free RAM.
Have your Task Manager open and watch your sqlservr.exe process how it releases RAM immediately after you issue these commands. Many people have used this method and all are happy with server behaviour. No side effects have been noticed.
Tags: -
Related entries:
- How to configure Apache versions 1.3.x - 2.0.x ?
- How to configure For Apache versions 2.2.x ?
- What is HSLAB Print Logger?
- What is HSLAB Sys Monitor?
- HSLAB Software Licensing
- About Performance Monitoring
- Locating Performance Bottlenecks
- Setting mod_status up
- Current Apache status is with the mod_status module
- What is HSLAB Print Logger PE?
- Simple Syntax of Regular Expressions
- How to copy data from a corrupted user profile to a new profile
- Windows Vista: SuperFetch and External Memory Devices
- One more time: do not clean out your Prefetch folder!
- How to Use and Troubleshoot HP JetDirect NIC Printing
Last update: 2010-06-19 19:07
Author: Oleg
Revision: 1.9
You cannot comment on this entry