Skip to content

Snapshots in .dart_tool/pub/bin don't get cleaned up and use a lot of space #61089

@denniskaselow

Description

@denniskaselow

I'm using the dev version of Dart and have a project I've been working on every now and then and was surprised to discover that the .dart_tool/pub/bin folder uses more than 1GB of space.

Every time the Dart SDK is updated, a new snapshot of the tools used (e.g. build_runner, test, melos) by the project is created, for example some of the latest few snapshots of build_runner:

Image

It looks like old versions don't get cleaned up and the used space keeps increasing. I've manually deleted them by now, but I think old/other versions should automatically get cleaned up when a new snapshot is being created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-sdkUse area-sdk for general purpose SDK issues (packaging, distribution, …).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions