What are active scratchspaces and how to manage them?

Pkg.jl outputs

pkg> gc
      Active manifest files: 8 found
      Active artifact files: 121 found
      Active scratchspaces: 3 found
     Deleted no artifacts, repos, packages or scratchspaces

The docs do not have anything on this topic: Search · Pkg.jl

What are those and how to manage them?

See here:

So these are locations where packages can store data they want to mutate.

Usually you don’t manage them. And probably should not. Here at the bottom it notes:

Scratch spaces are designed for data caches that are completely managed by a package and should be removed when the package itself is uninstalled.

1 Like