diff --git a/mem_verify.sh b/mem_verify.sh index 68a06fe..0d8f3a5 100755 --- a/mem_verify.sh +++ b/mem_verify.sh @@ -208,8 +208,7 @@ MEMINFO echo } -#[ "$SGA" -gt "$HUGEPAGE_BYTES" ] && { -[ "$SGA" -gt 1 ] && { +[ "$SGA" -gt "$HUGEPAGE_BYTES" ] && { echo "Warning: Configured SGA is larger than Configured HugePages" RECSIZE=$(( SGA / HUGEPAGE_SIZE / 1024 )) echo " Set HugePages to $RECSIZE or more"