Skip to content

The amount of space taken up by (Pkg) precompile files is too damn high #58945

@KristofferC

Description

@KristofferC
Image
~/.julia/juliaup/julia-nightly/share/julia/compiled/v1.13/Pkg
❯ ls -lh
total 161M
-rw-r--r-- 1 kc kc 635K Jul  8 09:29 tUTdb_Bb0JR.ji
-rwxr-xr-x 1 kc kc  86M Jul  8 09:29 tUTdb_Bb0JR.so
-rw-r--r-- 1 kc kc 635K Jul  9 12:11 tUTdb_PxeFS.ji
-rwxr-xr-x 1 kc kc  74M Jul  8 09:29 tUTdb_PxeFS.so

To me, it is quite unreasonable that Pkg.jl should take up 86 MB. As a comparison, in 1.6 the whole sysimage took 179 MB (which also included Pkg and all other stdlibs).

It would be good to figure out what is going on.

@IanButterworth has started some stuff in PkgCacheInspector to get more info out of the files timholy/PkgCacheInspector.jl#36.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions