Skip to content

Commit

Permalink
Increase page file size in Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
atextor committed Jan 20, 2022
1 parent 3b8ab19 commit 6aa6164
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,16 @@ jobs:
fetch-depth: 0
- uses: ilammy/msvc-dev-cmd@v1.10.0
- uses: microsoft/setup-msbuild@v1.1
- name: Configure Pagefile
# Fix for "LINK : fatal error LNK1171: unable to load mspdbcore.dll (error code: 1455)":
# This seems to be caused by running out of memory; increasing page file
# size suggested here:
# https://github.com/actions/virtual-environments/issues/3420#issuecomment-861342418
uses: al-cheb/configure-pagefile-action@v1.2
with:
minimum-size: 16GB
maximum-size: 16GB
disk-root: "C:"
- name: Cache Gradle
uses: actions/cache@v2
with:
Expand Down

0 comments on commit 6aa6164

Please sign in to comment.