[
https://issues.apache.org/jira/browse/OFBIZ-12361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17437880#comment-17437880
]
Jacques Le Roux commented on OFBIZ-12361:
-----------------------------------------
It's impossible at the moment to limit the number of files checked for compiled
languages:
https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#specifying-directories-to-scan
I'll check from time to time if they allow bigger files. 2.8 GB is not that
much. For now I continue to run GH CodeQL until OFBIZ-12356 is resolved.
> Try to reduce the SARIF file used by CodeQL for Java classes
> ------------------------------------------------------------
>
> Key: OFBIZ-12361
> URL: https://issues.apache.org/jira/browse/OFBIZ-12361
> Project: OFBiz
> Issue Type: Improvement
> Components: GitHub
> Reporter: Jacques Le Roux
> Assignee: Jacques Le Roux
> Priority: Minor
>
> The error is
> [...]
> Counted a baseline of 257261 lines of code for java.
> Uploading results
> Processing sarif files:
> ["/home/runner/work/ofbiz-framework/results/java.sarif"]
> Error: File size (2838487234) is greater than possible Buffer:
> RangeError [ERR_FS_FILE_TOO_LARGE]: File size (2838487234) is greater than
> possible Buffer: 2147483647 bytes
> at tryCreateBuffer (fs.js:317:13)
> [...]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)