Trying to create a sysimage using vscode build task. This has worked forever but today cannot get it to compile. It returns a “system image too large” error message.
Anybody else having this problem?
Version Info
VSCode version 1.70.1
Julia Version 1.8.0-rc4
Commit 7853436ccd (2022-08-08 07:55 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 64 × Intel(R) Xeon(R) Gold 6242 CPU @ 2.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, cascadelake)
Threads: 1 on 64 virtual cores
Error trace
Activating project at `c:\Users\bguenter\.vscode\extensions\julialang.language-julia-1.6.31\scripts\environments\sysimagecompile\fallback`
[ Info: Now building a custom sysimage for the environment 'c:\Users\bguenter\Source\github\OpticSim.jl', excluding dev packages 'Symbol[]'.
┌ Info: Included packages:
│ - Pkg
│ - ForwardDiff
│ - HTTP
│ - Luxor
│ - WGLMakie
│ - Zygote
│ - DataFrames
│ - SpecialFunctions
│ - Distributions
│ - ZipFile
│ - SHA
│ - LinearAlgebra
│ - Format
│ - ColorTypes
│ - LazySets
│ - Makie
│ - JSServe
│ - Polynomials
│ - GeometryBasics
│ - FileIO
│ - PackageCompiler
│ - GLMakie
│ - CSV
│ - Revise
│ - PlutoUI
│ - Random
│ - Libdl
│ - Optim
│ - Conda
│ - ColorSchemes
│ - ReverseDiff
│ - PyCall
│ - Images
│ - Plots
│ - Pluto
│ - Unitful
│ - StaticArrays
│ - ImageView
│ - Statistics
│ - MeshIO
│ - JuMP
│ - DelimitedFiles
│ - Roots
│ - Ipopt
│ - NLopt
│ - StringEncodings
│ - Colors
└ - InteractiveUtils
[ Info: Precompile statement files: String[]
[ Info: Precompile execution files: String[]
⣄ [14m:28s] PackageCompiler: compiling incremental system imageERROR: system image too large
✖ [14m:29s] PackageCompiler: compiling incremental system image
ERROR: LoadError: failed process: Process(`'C:\Users\bguenter\.julia\juliaup\julia-1.8.0-rc4+0.x64\bin\julia.exe' --color=yes --startup-file=no --cpu-target=native -O3 '--sysimage=C:\Users\bguenter\.julia\juliaup\julia-1.8.0-rc4+0.x64\lib\julia\sys.dll' '--project=c:\Users\bguenter\Source\github\OpticSim.jl' '--output-o=C:\Users\bguenter\AppData\Local\Temp\jl_GFy7i9o5G7.o' 'C:\Users\bguenter\AppData\Local\Temp\jl_kXO1QBQrmz'`, ProcessExited(1)) [1]
Stacktrace:
[1] pipeline_error
@ .\process.jl:565 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base .\process.jl:480
[3] run
@ .\process.jl:477 [inlined]
[4] #14
@ c:\Users\bguenter\.vscode\extensions\julialang.language-julia-1.6.31\scripts\packages\PackageCompiler\ext\TerminalSpinners.jl:157 [inlined]
[5] spin(f::PackageCompiler.var"#14#15"{Cmd}, s::PackageCompiler.TerminalSpinners.Spinner{Base.TTY})
@ PackageCompiler.TerminalSpinners c:\Users\bguenter\.vscode\extensions\julialang.language-julia-1.6.31\scripts\packages\PackageCompiler\ext\TerminalSpinners.jl:164
[6] macro expansion
@ c:\Users\bguenter\.vscode\extensions\julialang.language-julia-1.6.31\scripts\packages\PackageCompiler\ext\TerminalSpinners.jl:157 [inlined]
[7] create_sysimg_object_file(object_file::String, packages::Vector{String}, packages_sysimg::Set{Base.PkgId}; project::String, base_sysimage::String, precompile_execution_file::Vector{String}, precompile_statements_file::Vector{String}, cpu_target::String, script::Nothing, sysimage_build_args::Cmd, extra_precompiles::String, incremental::Bool)
@ PackageCompiler c:\Users\bguenter\.vscode\extensions\julialang.language-julia-1.6.31\scripts\packages\PackageCompiler\src\PackageCompiler.jl:359
[8] create_sysimage(packages::Vector{Symbol}; sysimage_path::String, project::String, precompile_execution_file::Vector{String}, precompile_statements_file::Vector{String}, incremental::Bool, filter_stdlibs::Bool, cpu_target::String, script::Nothing, sysimage_build_args::Cmd, include_transitive_dependencies::Bool, base_sysimage::Nothing, julia_init_c_file::Nothing, version::Nothing, soname::Nothing, compat_level::String,
extra_precompiles::String)
@ PackageCompiler c:\Users\bguenter\.vscode\extensions\julialang.language-julia-1.6.31\scripts\packages\PackageCompiler\src\PackageCompiler.jl:510
[9] top-level scope
@ c:\Users\bguenter\.vscode\extensions\julialang.language-julia-1.6.31\scripts\tasks\task_compileenv.jl:94
in expression starting at c:\Users\bguenter\.vscode\extensions\julialang.language-julia-1.6.31\scripts\tasks\task_compileenv.jl:94
* The terminal process "C:\Users\bguenter\.julia\juliaup\julia-1.8.0-rc4+0.x64\bin\julia.exe '--color=yes', '--startup-file=no', '--history-file=no', 'c:\Users\bguenter\.vscode\extensions\julialang.language-julia-1.6.31\scripts\tasks\task_compileenv.jl', 'c:\Users\bguenter\Source\github\OpticSim.jl'" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.