File Size Limitations For ZIP

File Size Limitations For ZIP

I have just learned that in order to use ZIP, both the archive file as well as the individual files inside the ZIP file should have the size of less than 4GBs, if it is not the case, you will get the segmentation fault error. So if you have much bigger files that need to be archived, it is recommended to use tar ball and then GZ it.
tar czvf archive.tar.gz archive1 archive2 archive3 
Both TAR and GZ should work fine so long as your OS’ filesystem supports very large files. In my test I can tar and then gz 4 6GB individual files without problems, although it took quite a while.


Leave a Reply

Your email address will not be published. Required fields are marked *

My new Snowflake Blog is now live. I will not be updating this blog anymore but will continue with new contents in the Snowflake world!