Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/codeql-utils
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ memory() {
# Get the memory of the system
if [[ "$OSTYPE" == "darwin"* ]]; then
# MacOS
MEMORY=$(sysctl -n hw.memsize)
MEMORY=$(($(sysctl -n hw.memsize) / 1024 / 1024))
else
# Linux
MEMORY=$(free -m | awk 'NR==2{print $2}')
Expand Down