FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Increase the default amount of RAM reserved for the OS by adityasharad · Pull Request #396 · github/codeql-action · GitHub

Increase the default amount of RAM reserved for the OS - #396

Merged
adityasharad merged 2 commits into
mainfrom
adityasharad/ram-threshold
Feb 17, 2021
Merged

adityasharad merged 2 commits into
mainfrom
adityasharad/ram-threshold

Conversation

adityasharad commented Feb 16, 2021
edited
Loading

Copy link
Copy Markdown
Contributor

Mitigation for OOM errors (137/SIGKILL) seen by users when we overcommit the available memory.
For Unix, reserve 1GB.
For Windows, reserve 1.5GB, as the OS needs more memory and estimates inaccurately.

Potential impact: There's a risk of this slightly increasing run times, but I think 1-1.5GB is rarely enough to dramatically change performance, and we've discussed that the improved stability is worth the tradeoff. I'm doing some simple performance testing, but to evaluate the full impact we may need to ship this and monitor overall runtimes.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.

Mitigation for OOM errors (137/SIGKILL) seen by users when we overcommit the available memory.
For Unix, reserve 1GB.
For Windows, reserve 1.5GB, as the OS needs more memory and estimates inaccurately.
adityasharad marked this pull request as ready for review February 16, 2021 23:26

chrisgavin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM. I suppose there is some risk that repositories that could previously be analyzed with 6.75GB of RAM might not be able to be analyzed with 6GB, but I agree that improving stability is the most important thing.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL