JuliaLang / PackageCompiler.jl

Compile your Julia Package
https://julialang.github.io/PackageCompiler.jl/dev/
MIT License
1.4k stars 186 forks source link

High memory usage of compilation (windows) #854

Closed korbinian90 closed 1 month ago

korbinian90 commented 10 months ago

I'm using the GitHub runners to compile my package for different OS.

The free Windows GitHub runner has 8GB RAM and crashes during compilation with

- PackageCompiler: compiling nonincremental system image
LLVM ERROR: out of memory

A current solution is to increase the swap-file on the windows runners via https://github.com/al-cheb/configure-pagefile-action

(I decided to create this issue with having a solution since others might attempt the same or have better solutions)

sjkelly commented 1 month ago

Closing, since this is for posterity and not actionable. Thanks!