# \#sysimage

**URL:** https://discourse.julialang.org/tag/sysimage/571.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Sysimage creation process gets OOM killed (out-of-memory)](https://discourse.julialang.org/t/sysimage-creation-process-gets-oom-killed-out-of-memory/136079)

<div class="topic-metadata">

**Author:** [@Abhro](https://discourse.julialang.org/u/Abhro)\
**Replies:** 3\
**Last updated:** [March 7, 2026, 3:15pm UTC](https://discourse.julialang.org/t/sysimage-creation-process-gets-oom-killed-out-of-memory/136079 "2026-03-07T15:15:40Z")

</div>

When I try to create a sysimage with Makie in it (or maybe any other heavy package, Makie’s the only one I’ve noticed), the create\_sysimage() call gets to the “Compiling incremental sysimage” stage, then crashes, also ex…

---

## [Lessons learnt and thoughts on deploying Julia and sysimages on AWS](https://discourse.julialang.org/t/lessons-learnt-and-thoughts-on-deploying-julia-and-sysimages-on-aws/130669)

<div class="topic-metadata">

**Author:** [@ConnectedSystems](https://discourse.julialang.org/u/ConnectedSystems)\
**Replies:** 1\
**Last updated:** [August 29, 2025, 1:57pm UTC](https://discourse.julialang.org/t/lessons-learnt-and-thoughts-on-deploying-julia-and-sysimages-on-aws/130669 "2025-08-29T13:57:17Z")

</div>

I have spent a portion of my time on and off over the past two weeks trying to build docker containers with sysimages to deploy on AWS. Over that time I have run into various issues and thought it worthwhile writing up m…

---

## [Juliac and PackageCompiler](https://discourse.julialang.org/t/juliac-and-packagecompiler/124683)

<div class="topic-metadata">

**Author:** [@wujinq](https://discourse.julialang.org/u/wujinq)\
**Replies:** 1\
**Last updated:** [January 13, 2025, 2:35pm UTC](https://discourse.julialang.org/t/juliac-and-packagecompiler/124683 "2025-01-13T14:35:50Z")

</div>

It seems that juliac is currently being developed to compile Julia code into binary, which does not impose the constraints in static compilation. I’m however curous about the relation between juliac and Package Compiler:…

---

## [What can I remove from /.julia?](https://discourse.julialang.org/t/what-can-i-remove-from-julia/121657)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 6\
**Last updated:** [October 24, 2024, 11:50pm UTC](https://discourse.julialang.org/t/what-can-i-remove-from-julia/121657 "2024-10-24T23:50:00Z")

</div>

I am trying to build a slim docker image to run an app. I’m using PackageCompiler.jl to build a sysimage (using filter\_stdlibs). I’d like to remove unnecessary files from the .julia file to slim even more. I feel pretty…

---

## [\[RFC\] Cloud+Container Infrastructure Management](https://discourse.julialang.org/t/rfc-cloud-container-infrastructure-management/112685)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 11\
**Last updated:** [October 10, 2024, 8:39pm UTC](https://discourse.julialang.org/t/rfc-cloud-container-infrastructure-management/112685 "2024-10-10T20:39:51Z")

</div>

I asked a question previously about managing incremental builds of Julia Docker containers but didn’t hear much back. Since then, I’ve been sketching out some ideas that I’d appreciate feedback on. The Problem Deploying…

---

## [Why would a sysimage be faster than a package (JuliaScript.jl)?](https://discourse.julialang.org/t/why-would-a-sysimage-be-faster-than-a-package-juliascript-jl/116984)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 4\
**Last updated:** [July 13, 2024, 7:45am UTC](https://discourse.julialang.org/t/why-would-a-sysimage-be-faster-than-a-package-juliascript-jl/116984 "2024-07-13T07:45:02Z")

</div>

As stated in the README, JuliaScript.jl can “create a corresponding julia module and track all precompile statements from the actual run” then “from the second time onwards, it will then run as fast as julia’s precompila…

---

## [Plots do not display, unless I call gui(), when using custom sysimage](https://discourse.julialang.org/t/plots-do-not-display-unless-i-call-gui-when-using-custom-sysimage/92207)

<div class="topic-metadata">

**Author:** [@rdiaz02](https://discourse.julialang.org/u/rdiaz02)\
**Replies:** 3\
**Last updated:** [May 16, 2024, 8:02pm UTC](https://discourse.julialang.org/t/plots-do-not-display-unless-i-call-gui-when-using-custom-sysimage/92207 "2024-05-16T20:02:30Z")

</div>

I have created a custom sysimage that contains Plots, as explained here https://julialang.github.io/PackageCompiler.jl/dev/examples/plots.html (see \[1\] below for complete details). If I start Julia from the REPL using…

---

## [Using an ITensors sysimage when starting the Julia REPL in VS Code?](https://discourse.julialang.org/t/using-an-itensors-sysimage-when-starting-the-julia-repl-in-vs-code/98625)

<div class="topic-metadata">

**Author:** [@Ludwig\_Hruza](https://discourse.julialang.org/u/Ludwig_Hruza)\
**Replies:** 8\
**Last updated:** [October 19, 2023, 6:58am UTC](https://discourse.julialang.org/t/using-an-itensors-sysimage-when-starting-the-julia-repl-in-vs-code/98625 "2023-10-19T06:58:43Z")

</div>

Hi, I am using the library ITensors, which suggests on its website (Running ITensor and Julia Codes · ITensors.jl) to generate a sysimage for faster startup times julia\> using ITensors; ITensors.compile() In a terminal…

---

## [Sysimage creation example with plots does not seem to work](https://discourse.julialang.org/t/sysimage-creation-example-with-plots-does-not-seem-to-work/101269)

<div class="topic-metadata">

**Author:** [@rdiaz02](https://discourse.julialang.org/u/rdiaz02)\
**Replies:** 2\
**Last updated:** [July 6, 2023, 7:10pm UTC](https://discourse.julialang.org/t/sysimage-creation-example-with-plots-does-not-seem-to-work/101269 "2023-07-06T19:10:44Z")

</div>

The example given in Creating a sysimage for fast plotting with Plots.jl · PackageCompiler does not finish after more than 25 minutes. I am running Julia 1.9.2 under Debian Linux. This is what I have done: Create fil…

---

## [Tool: sysimage\_creator for IJulia users](https://discourse.julialang.org/t/tool-sysimage-creator-for-ijulia-users/61229)

<div class="topic-metadata">

**Author:** [@terasakisatoshi](https://discourse.julialang.org/u/terasakisatoshi)\
**Replies:** 6\
**Last updated:** [June 3, 2023, 6:23am UTC](https://discourse.julialang.org/t/tool-sysimage-creator-for-ijulia-users/61229 "2023-06-03T06:23:20Z")

</div>

Tool: sysimage\_creator for IJulia users Announcement Hi, I’m happy to annaunce the release of sysimage\_creator. It will reduce the time to initialize Jupyter Kernel and plot for the first time. Have a try. Below I will …

---

## [Question on Starting Julia with Sys Image](https://discourse.julialang.org/t/question-on-starting-julia-with-sys-image/98686)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 1\
**Last updated:** [May 11, 2023, 5:51pm UTC](https://discourse.julialang.org/t/question-on-starting-julia-with-sys-image/98686 "2023-05-11T17:51:03Z")

</div>

I’ve created a system image following the example described here for OhMyREPL. I can now do the following, and it works! julia --sysimage=OMR-sysimage.so But typing that every time is a bit cumbersome. Can loading th…

---

## [PackageCompiler error creating sysimage](https://discourse.julialang.org/t/packagecompiler-error-creating-sysimage/75710)

<div class="topic-metadata">

**Author:** [@notthetup](https://discourse.julialang.org/u/notthetup)\
**Replies:** 2\
**Last updated:** [May 7, 2023, 11:31am UTC](https://discourse.julialang.org/t/packagecompiler-error-creating-sysimage/75710 "2023-05-07T11:31:04Z")

</div>

Hello, I’m having issues using PackageCompiler on a Linux on aarch64(nVidia Jetson TX2) machine. Running through the basic example from the documentation causes this error. julia\> create\_sysimage(\["Example"\]; sysimage\_…

---

## [PackageCompiler.jl ERROR: ArgumentError: Package MyPackage not found in current path, maybe you meant \`import/using .MyPackage\`](https://discourse.julialang.org/t/packagecompiler-jl-error-argumenterror-package-mypackage-not-found-in-current-path-maybe-you-meant-import-using-mypackage/94966)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 0\
**Last updated:** [February 21, 2023, 2:51pm UTC](https://discourse.julialang.org/t/packagecompiler-jl-error-argumenterror-package-mypackage-not-found-in-current-path-maybe-you-meant-import-using-mypackage/94966 "2023-02-21T14:51:04Z")

</div>

Hi there, I am really lost, trying to let PackageCompiler.jl create a sysimage within a docker, but somehow all packages don’t get added normally, but I need to access them from local modules with a prefixed dot using .…

---

## [Code compiles each time it triggered](https://discourse.julialang.org/t/code-compiles-each-time-it-triggered/95839)

<div class="topic-metadata">

**Author:** [@Sandy45](https://discourse.julialang.org/u/Sandy45)\
**Replies:** 6\
**Last updated:** [March 10, 2023, 6:08pm UTC](https://discourse.julialang.org/t/code-compiles-each-time-it-triggered/95839 "2023-03-10T18:08:37Z")

</div>

I’ve deployed my Julia code to AWS using Docker containers with enabling multiple threads, The issue we are facing is whenever HTTP end point (Julia) has been triggered process is compiling every time since because of us…

---

## [Good practice question: where do you save custom sysimages built using PackageCompiler](https://discourse.julialang.org/t/good-practice-question-where-do-you-save-custom-sysimages-built-using-packagecompiler/95824)

<div class="topic-metadata">

**Author:** [@curious](https://discourse.julialang.org/u/curious)\
**Replies:** 0\
**Last updated:** [March 9, 2023, 10:06pm UTC](https://discourse.julialang.org/t/good-practice-question-where-do-you-save-custom-sysimages-built-using-packagecompiler/95824 "2023-03-09T22:06:58Z")

</div>

Hi, I was wondering what is a good place to store custom sysimages built using the PackageCompiler? Is it okay to store in somewhere in ~/.julia or should that be left alone for julia generated files (except startup.jl)…

---

## [PackageCompiler create\_sysimage fails because of failure to precompile Cxx.jl](https://discourse.julialang.org/t/packagecompiler-create-sysimage-fails-because-of-failure-to-precompile-cxx-jl/95741)

<div class="topic-metadata">

**Author:** [@curious](https://discourse.julialang.org/u/curious)\
**Replies:** 3\
**Last updated:** [March 8, 2023, 11:53pm UTC](https://discourse.julialang.org/t/packagecompiler-create-sysimage-fails-because-of-failure-to-precompile-cxx-jl/95741 "2023-03-08T23:53:08Z")

</div>

Hello, I am watching the awesome talk by Kristoffer Carlsson here PackageCompiler and Static Compilation - YouTube about PackageCompiler. I tried to run the following command in my Julia repl create\_sysimage(\[:DataFram…

---

## [Errors when using sysimage with Makie master](https://discourse.julialang.org/t/errors-when-using-sysimage-with-makie-master/95132)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 2\
**Last updated:** [February 28, 2023, 4:01pm UTC](https://discourse.julialang.org/t/errors-when-using-sysimage-with-makie-master/95132 "2023-02-28T16:01:20Z")

</div>

I’m trying to stay on the bleeding edge with Makie master, yet minimize my TTFP. I’m creating a sysimage with basically the following (the Pkg.activate(temp=true) is an attempt to make this as reproducible as possible): …

---

## [Adding packages present in custom sysimage into environment when running with that sysimage](https://discourse.julialang.org/t/adding-packages-present-in-custom-sysimage-into-environment-when-running-with-that-sysimage/95107)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 0\
**Last updated:** [February 23, 2023, 9:54pm UTC](https://discourse.julialang.org/t/adding-packages-present-in-custom-sysimage-into-environment-when-running-with-that-sysimage/95107 "2023-02-23T21:54:07Z")

</div>

I have a sysimage (which happens to include Makie, GLMakie, CairoMakie and MakieCore) which was built in a (temporary) environment where the Makie packages were included via \]develop --local. When I start Julia using the…

---

## [Proper way to create sysimage with all dependencies of a given package](https://discourse.julialang.org/t/proper-way-to-create-sysimage-with-all-dependencies-of-a-given-package/91460)

<div class="topic-metadata">

**Author:** [@sloede](https://discourse.julialang.org/u/sloede)\
**Replies:** 9\
**Last updated:** [February 22, 2023, 3:06pm UTC](https://discourse.julialang.org/t/proper-way-to-create-sysimage-with-all-dependencies-of-a-given-package/91460 "2023-02-22T15:06:37Z")

</div>

What’s the proper way to create a custom sysimage for the following situation: I am developing a package with at least a moderately large set of dependencies (Trixi.jl) and I would like to speed up startup latency by co…

---

## [How to programmatically update my PackageCompiler's sysimage, using a precompile\_execution\_file?](https://discourse.julialang.org/t/how-to-programmatically-update-my-packagecompilers-sysimage-using-a-precompile-execution-file/91050)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 8:55pm UTC](https://discourse.julialang.org/t/how-to-programmatically-update-my-packagecompilers-sysimage-using-a-precompile-execution-file/91050 "2022-11-30T20:55:58Z")

</div>

Hi all! I am using PackageCompiler to speed up Julia usage. It works enthusiastically well, and it saves me some time, but I also want to keep the sysimage updated. Specifically, I want to update it (even manually) once…

---

## [Can't compile sysimage in VSCode because of UndefRefError](https://discourse.julialang.org/t/cant-compile-sysimage-in-vscode-because-of-undefreferror/90312)

<div class="topic-metadata">

**Author:** [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Replies:** 0\
**Last updated:** [November 15, 2022, 7:54pm UTC](https://discourse.julialang.org/t/cant-compile-sysimage-in-vscode-because-of-undefreferror/90312 "2022-11-15T19:54:27Z")

</div>

I am trying to compile a sysimage using the VSCode Task:Build Task feature. This is for the OpticSim.jl package; it returns an UndefRefError, which I’ve never seen before. The error appears to occur somewhere in the GR p…

---

## [Using sysimages in CI?](https://discourse.julialang.org/t/using-sysimages-in-ci/89021)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 2\
**Last updated:** [October 20, 2022, 8:46pm UTC](https://discourse.julialang.org/t/using-sysimages-in-ci/89021 "2022-10-20T20:46:00Z")

</div>

I have a test suite that, when executed on Github Actions takes 15ish minutes to precompile all dependencies and other TTFX tasks and then only 3ish minutes to actually run the tests. Is there a way to have a sysimage t…

---

## [AutoSysimages.jl - Automate user-specific system images](https://discourse.julialang.org/t/autosysimages-jl-automate-user-specific-system-images/87359)

<div class="topic-metadata">

**Author:** [@petvana](https://discourse.julialang.org/u/petvana)\
**Replies:** 26\
**Last updated:** [September 23, 2022, 2:27pm UTC](https://discourse.julialang.org/t/autosysimages-jl-automate-user-specific-system-images/87359 "2022-09-23T14:27:02Z")

</div>

I’d like to introduce new package AutoSysimages.jl that aims to automate building process of sysimages. It records precompile statements during normal Julia usage. Then, building a user-specific system image for your pro…

---

## [Juliad and julias, wrappers to DaemonMode and -J sysimage for quicker Linux/Cygwin scripts](https://discourse.julialang.org/t/juliad-and-julias-wrappers-to-daemonmode-and-j-sysimage-for-quicker-linux-cygwin-scripts/76690)

<div class="topic-metadata">

**Author:** [@jdad](https://discourse.julialang.org/u/jdad)\
**Replies:** 3\
**Last updated:** [August 8, 2022, 11:00am UTC](https://discourse.julialang.org/t/juliad-and-julias-wrappers-to-daemonmode-and-j-sysimage-for-quicker-linux-cygwin-scripts/76690 "2022-08-08T11:00:55Z")

</div>

FWIW, as an old linuxer, I have created for my own usage two scripts to facilitate the use of either sysimage or DaermonMode.jl to get faster frequently used scripts (=faster TTFX, Time to First X). Sorry, I have done th…

---

## [Sysimage plot in Juno is still slow?](https://discourse.julialang.org/t/sysimage-plot-in-juno-is-still-slow/46051)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 0\
**Last updated:** [September 4, 2020, 11:28am UTC](https://discourse.julialang.org/t/sysimage-plot-in-juno-is-still-slow/46051 "2020-09-04T11:28:24Z")

</div>

Hello! I followed this guide to make a sysimage https://julialang.github.io/PackageCompiler.jl/dev/examples/plots/ I succeeded in doing so, but the result I see is: julia\> @time using Plots 0.000901 seconds (445 al…

---

## [Is there a command to tell me if I am the default sysimage or a custom one?](https://discourse.julialang.org/t/is-there-a-command-to-tell-me-if-i-am-the-default-sysimage-or-a-custom-one/63673)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 0\
**Last updated:** [June 28, 2021, 5:02am UTC](https://discourse.julialang.org/t/is-there-a-command-to-tell-me-if-i-am-the-default-sysimage-or-a-custom-one/63673 "2021-06-28T05:02:32Z")

</div>

I am using VSCode, I turn on the feature about using a custom sysimage. But often, I am not sure if I am using the default sysimage or a custom one. How can I tell? Is there a command I can type? E.g. one that shows me …

---

## [PackageCompiler: Do optimisation flags influence the produced sysimages?](https://discourse.julialang.org/t/packagecompiler-do-optimisation-flags-influence-the-produced-sysimages/47338)

<div class="topic-metadata">

**Author:** [@SteffenPL](https://discourse.julialang.org/u/SteffenPL)\
**Replies:** 0\
**Last updated:** [September 26, 2020, 9:07pm UTC](https://discourse.julialang.org/t/packagecompiler-do-optimisation-flags-influence-the-produced-sysimages/47338 "2020-09-26T21:07:34Z")

</div>

Is there a difference between julia -O3 -e "import PackageCompiler; PackageCompiler.create\_sysimage(...)" vs julia -e "import PackageCompiler; PackageCompiler.create\_sysimage(...)"? Are the produced sysimages the sa…

---

## [Is there a way to configure Custom sysimage per workspace or project in VSCode?](https://discourse.julialang.org/t/is-there-a-way-to-configure-custom-sysimage-per-workspace-or-project-in-vscode/61840)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 0\
**Last updated:** [May 26, 2021, 6:32am UTC](https://discourse.julialang.org/t/is-there-a-way-to-configure-custom-sysimage-per-workspace-or-project-in-vscode/61840 "2021-05-26T06:32:02Z")

</div>

I see the above option mentions the use of a Custom Sysimage, but it’s not which custom sysimage it is using. Using the workspace settings in VScode there is no option for customer sysimage. So I assume it’s not poss…

---

## [Pluto Sysimage](https://discourse.julialang.org/t/pluto-sysimage/75106)

<div class="topic-metadata">

**Author:** [@Timothy](https://discourse.julialang.org/u/Timothy)\
**Replies:** 0\
**Last updated:** [January 24, 2022, 7:04am UTC](https://discourse.julialang.org/t/pluto-sysimage/75106 "2022-01-24T07:04:47Z")

</div>

I am trying to generate a sysimage for my workflow in Pluto. I have specified my notebook file as the precompile execution file in VSCode. However - I can’t generate a sysimage in VSCode. I wonder whether I can not gen…

---

## [EOOR: failed process when using PackageCompiler.create\_sysimage](https://discourse.julialang.org/t/eoor-failed-process-when-using-packagecompiler-create-sysimage/40607)

<div class="topic-metadata">

**Author:** [@yy38819991](https://discourse.julialang.org/u/yy38819991)\
**Replies:** 0\
**Last updated:** [June 2, 2020, 11:26am UTC](https://discourse.julialang.org/t/eoor-failed-process-when-using-packagecompiler-create-sysimage/40607 "2020-06-02T11:26:02Z")

</div>

When I used PackageCompiler.create\_sysimage in Linux OS, an error occurred. Then I tried the same work in another server with Linux OS and the same error appeared. But when I first used the package in my Windows10 comput…

[Next page](https://discourse.julialang.org/tag/sysimage/571.md?match_all_tags=true&page=1&tags%5B%5D=sysimage)
