Skip to content

[flutter_tools] Optimize archive extraction on Windows #133371

Description

@christopherfujino

Today, the tool uses package:archive to extract zip archives on Windows, since historically we could not rely on an unzipping utility being installed. However, this is both slow and sometimes results in out of memory crashes by the tool.

In addition, we have pinned the package as it has introduced new dependencies we dont' want to take on: #115660.

We should figure out another solution to extracting zip archives on Windows, that is both efficient and will work for all of our supported Windows users.

Activity

  1. added
    P2Important issues not at the top of the work list
    team-toolOwned by Flutter Tool team
    triaged-toolTriaged by Flutter Tool team
    on Aug 26, 2023
  2. christopherfujino commented on Aug 26, 2023

    @christopherfujino
    ContributorAuthor
  3. christopherfujino commented on May 31, 2024

    @christopherfujino
    ContributorAuthor

    As @jmagman points out in #149427 (comment), the newest release of archive only has dependencies on crypto and path, which we already depend on.

  4. christopherfujino commented on Jun 5, 2024

    @christopherfujino
    ContributorAuthor

    Also look at if universally using the archive_io.dart library improves performance

  5. removed their assignment
    on Jul 12, 2024
  6. matanlurey commented on Jul 11, 2025

    @matanlurey
    Contributor

    @bkonyi 👁️ ?

  7. github-actions commented on Oct 1, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  8. locked as resolved and limited conversation to collaborators on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listteam-toolOwned by Flutter Tool teamtriaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions