Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0c59a67

Browse files
Merge pull request BrentOzarULTD#1219 from BrentOzarULTD/issue_1212/brent
BrentOzarULTD#1212 sp_BlitzFirst fixing false alarm on low target memory
2 parents b24ac45 + 38fbe34 commit 0c59a67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎sp_BlitzFirst.sql‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1545,7 +1545,8 @@ BEGIN
15451545
AND cTarget.counter_name = N'Target Server Memory (KB) '
15461546
WHERE cMax.name = 'max server memory (MB)'
15471547
AND CAST(cMax.value_in_use AS BIGINT) >= 1.5 * (CAST(cTarget.cntr_value AS BIGINT) / 1024)
1548-
AND CAST(cMax.value_in_use AS BIGINT) < 2147483647; /* Not set to default of unlimited */
1548+
AND CAST(cMax.value_in_use AS BIGINT) < 2147483647 /* Not set to default of unlimited */
1549+
AND CAST(cTarget.cntr_value AS BIGINT) < .8 * (SELECT available_physical_memory_kb FROM sys.dm_os_sys_memory); /* Target memory less than 80% of physical memory (in case they set max too high) */
15491550

15501551
/* Server Info - Database Size, Total GB - CheckID 21 */
15511552
INSERT INTO #BlitzFirstResults (CheckID, Priority, FindingsGroup, Finding, Details, DetailsInt, URL)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /