dotnet / dotnet/dotnet-api-docs

ZipArchive documentation still mentions 2GB limit in Update mode

Open
#12,167 1 comment 0 reactions 0 assignees View on GitHub
area-System.IO.Compression untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### Type of issue

Outdated article

### Description

Many of the ZipArchive related pages mention the 2GB limit when Mode is set to Update.
I believe this has been resolved in .NET 10 and should be removed from all documentation.

As shown in the release notes below:

> the way entries are written to a ZipArchive when in Update mode has been optimized. Previously, all ZipArchiveEntry instances were loaded into memory and rewritten,

[.NET 10 Release Notes - Zip Performance](https://github.com/dotnet/core/blob/main/release-notes/10.0/preview/preview1/libraries.md#ziparchive-performance-and-memory-improvements)

### Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.io.compression.zipfileextensions.createentryfromfile?view=net-10.0#system-io-compression-zipfileextensions-createentryfromfile(system-io-compression-ziparchive-system-string-system-string-system-io-compression-compressionlevel)

### Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.IO.Compression/ZipFileExtensions.xml

### Document Version Independent Id

e4676cb1-22e3-0197-d0fc-2486a311fcc7

### Platform Id

492a107d-eaa4-fcf8-3475-11feb18f68ca

### Article author

@dotnet-bot

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.