Skip to content

Commit

Permalink
still trying to fix the memory issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fschledorn authored Nov 24, 2024
1 parent febf284 commit ea4127f
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,15 @@ jobs:
uses: actions/checkout@v2

- name: Install LaTeX
uses: xu-cheng/texlive-action@v2
uses: xu-cheng/texlive-action@v2
with:
texlive_year: 'latest'
packages: make g++ zip
packages: make g++ zip

- name: Find texmf.cnf
- name: Increase LaTeX memory
run: |
find /usr/local/texlive -name texmf.cnf
- name: Increase LaTeX memory (if needed)
run: |
TEXMFCNF=$(find /usr/local/texlive -name texmf.cnf)
sudo sed -i 's/main_memory = 1500000/main_memory = 4000000/' "$TEXMFCNF"
sudo sed -i 's/pool_size = 5000000/pool_size = 8000000/' "$TEXMFCNF"
sudo tlmgr conf texmf main_memory 4000000
sudo tlmgr conf texmf pool_size 8000000
sudo fmtutil-sys --all
- name: Build PDF
Expand Down

0 comments on commit ea4127f

Please sign in to comment.