-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Pri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-System.IO.CompressionuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner

Description
When reading a ZipArchive from a non-seekable stream, the library loads the entire archive into memory before processing individual members. It looks like this is expected behavior - zip files store entry metadata at the end of the archive, and it's necessary to read the metadata before extracting files.
Though valid, this should be noted in the documentation for ZipArchive so people aren't surprised by the significant memory usage.
Metadata
Metadata
Assignees
Labels
Pri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-System.IO.CompressionuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner