Skip to content

Conversation

@3ripleM
Copy link

@3ripleM 3ripleM commented Nov 14, 2025

Problem

Running codeql-scan would fail when creating/analyzing the database, because they are using a memory function

Tracing the issue

Running sysctl -n hw.memsize prints total memory in bytes where the script is using memory in MB

Solution

Converting byte value to MB in darwin OS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant