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

Update loc count library by aeisenberg · Pull Request #499 · github/codeql-action · GitHub

Update loc count library - #499

Merged
aeisenberg merged 1 commit into
mainfrom
aeisenberg/non-parallel-loc
May 13, 2021
Merged

aeisenberg merged 1 commit into
mainfrom
aeisenberg/non-parallel-loc

Conversation

aeisenberg commented May 12, 2021
edited
Loading

Copy link
Copy Markdown
Contributor

This version will count lines of code in each file serially. It still
runs all file system operations asynchronously. The only difference now
is that it will only count one file at a time. It is slower, but it
is able to count large repositories without running out of memory.

Fixes #498

Merge / deployment checklist

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

This version will count lines of code in each file serially. It still
runs all file system operations asynchronously. The only difference now
is that it will only count one file at a time. It is slower, but it
is able to count large repositories without running out of memory.
aeisenberg requested a review from adityasharad May 12, 2021 23:33

Copy link
Copy Markdown
Contributor Author

Before merging, I want to try this on at least one repository that is currently giving us OOME.

Copy link
Copy Markdown
Contributor Author

This run is against a repository that had an OOME in the past, with the v1 branch of the action:
https://github.com/aeisenberg/Mudlet/actions/runs/837223527

I feel confident that this will fix the problem.

aeisenberg merged commit a924f03 into main May 13, 2021
aeisenberg deleted the aeisenberg/non-parallel-loc branch May 13, 2021 17:10
github-actions Bot mentioned this pull request May 17, 2021
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.

Prevent OOME when counting lines of code

2 participants


Back | FazBrowse Home | New Git URL