Binaries made by PackageCompiler.jl hangs while maxing out RAM

One thing I had to do was to add include_transitive_dependencies=true,:

PackageCompiler.create_sysimage(
    [:Dierckx, :StaticArrays, :Parameters, :NLsolve, :DocStringExtensions, :Sundials, :KiteUtils, 
     :KitePodModels, :AtmosphericModels, :OrdinaryDiffEqCore, :OrdinaryDiffEqBDF, :OrdinaryDiffEqSDIRK,
     :ModelingToolkit, :DSP, :JLD2, :Colors];
    sysimage_path="kps-image_tmp.so",
    include_transitive_dependencies=true,
    precompile_execution_file=joinpath("test", "test_for_precompile.jl")
)

Furthermore, if you want more support I am afraid you have to provide a “minimal working example” that allows others to reproduce your problem, see: Please read: make it easier to help you