Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CodeQL out of memory #245

Open
Open
@BrightRan

Description

@BrightRan

Associated GitHub Community ticket: https://github.community/t/codeql-out-of-memory/135280

The customer set a workflow like as this.
When the set the CodeQL action to run for the C# language, the step "Perform CodeQL Analysis" failed with the following errors (more details, see here):

OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000007e2300000, 200278016, 0) failed; error='The paging file is too small for this operation to complete' (DOS error/errno=1455)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 200278016 bytes for Failed to commit area from 0x00000007e2300000 to 0x00000007ee200000 of length 200278016.
# An error report file with more information is saved as:
# D:\a\Dnn.Platform\Dnn.Platform\hs_err_pid6332.log
Error: Error running analysis for csharp: Error: The process 'C:\hostedtoolcache\windows\CodeQL\0.0.0-20200826\x64\codeql\codeql.exe' failed with exit code 1
Error: The process 'C:\hostedtoolcache\windows\CodeQL\0.0.0-20200826\x64\codeql\codeql.exe' failed with exit code 1
Error: No SARIF files found to upload in "../results".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions