Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
Compressed folder becomes corrupted when larger than 2 gigabytes
Article ID: 301325 - View products that this article applies to.
This article was previously published under Q301325
When you create a compressed folder (ZIP file) that is larger than 2 gigabytes (GB), the file may no longer be readable, and may become corrupted. You do not receive any error message when you create the file, but you cannot read the file after you create it.
Note In Windows Vista and in Windows Server 2008, compressed folders can be larger than 2 GB. The folders are compressed by the DEFLATE64 algorithm. However, the DEFLATE64 algorithm is not backward compatible with earlier versions of Microsoft Windows.
This issue can occur because the size limit for compressed folders is approximately 2 GB.
To work around this issue, make sure that you limit the size of a compressed folder to 2 GB or less when you create a compressed folder.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.To overcome this potential issue, a new function was introduced in 2003 Service Pack 1 that calculates the total size of all files before compression. If the combined file size prior to compression is greater than 2GB, Windows returns the error:
The compression cannot be performed because the size of resulting compressed folder is too large.
Article ID: 301325 - Last Review: May 14, 2009 - Revision: 3.0