Trustwave SpiderLabs Exposes Unique Cybersecurity Threats in the Public Sector. Learn More

Trustwave SpiderLabs Exposes Unique Cybersecurity Threats in the Public Sector. Learn More

Services
Capture
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

twi-managed-portal-color
Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

twi-briefcase-color-svg
Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

tw-laptop-data
Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

twi-database-color-svg
Database Security

Prevent unauthorized access and exceed compliance requirements.

twi-email-color-svg
Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

tw-officer
Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

tw-network
Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
Loading...
Loading...

INFO: SQL Server (64 bit) consuming all memory

Expand / Collapse


This article applies to:

  • Trustwave SEG
  • Trustwave ECM
  • WebMarshal
  • SQL Server 64 bit versions
    • This issue does not affect the 64 bit version of SQL 2016 Express (such as the distribution that is packaged with the latest Trustwave products). SQL Express already limits memory usage.

Symptoms:

  • SQL Server consumes all available memory
  • SQL consumes 15.6 GB on a server with 16 GB of physical memory
  • Memory is never released
  • Other applications on the server run slowly

Causes:

  • The symptoms are designed and expected behaviors of SQL Server 64 bit versions.

If you run 64 bit SQL Server and you do not limit memory usage as described below, no other applications should be running on the machine.

Limiting SQL Server Memory:

In SQL Server properties, you can set the Maximum server memory to a reasonable value, not less than 2GB. To calculate the value:

  • Allow 1GB for operating system and the SEG, ECM, or WebMarshal Array Manager.
  • Allow additional memory for other running applications.
    • Note that a single server (array manager plus processing node) installation of SEG or WebMarshal is not recommended for same server installation with full SQL Server.
  • Allocate the remaining memory (at least 2GB) to SQL using the Maximum server memory setting. 

Notes:

  • When the maximum server memory is set, SQL Server may still consume memory over the set amount.
  • However, SQL Server will surrender memory as required by other applications, down to the "maximum" setting.
  • Be sure to monitor memory usage. In some cases SQL Server has been observed to report "out of memory" and unable to run queries, even with 6GB allocated.

To contact Trustwave about this article or to request support:


Rate this Article:
     

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.