GitHub Actions: Paging file is too small

If you hit this issue, per the GitHub community it’s a Windows issue that can be worked around with a Pagefile. link

[ERROR] OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000700000000, 553648128, 0) failed; error='The paging file is too small for this operation to complete' (DOS error/errno=1455)

I used the discussed GitHub Action configure-pagefile

You can see the solution inline at GitHub Actions Workflow

    - name: Configure Pagefile
      uses: al-cheb/configure-pagefile-action@v1.2
      with:
        minimum-size: 8GB
        maximum-size: 8GB
        disk-root: "C:"

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.