I am using Chilkat.NET 4 Trail Version.
I am trying to zip PDF's from a Directory and Write it to memory stream by calling Zip.WriteToMemory(). If the size of all PDF's were 420 MB, then zip's to around 350 MB successfully writes to memory. But if I add some PDF's in that directory and increasing the size to 600 MB, then Zip.WriteToMemory() returns 0 bytes.
WriteToMemory supports zips up to 4GB in size (32-bit). However, Chilkat Zip automatically supports Zip64 when writing to files. In other words, there is basically no limitation to the size of a zip when writing to a file.
If WriteToMemory returns 0 bytes, then examine the LastErrorText.
answered Mar 13 '13 at 10:27
Thanks for your quick reply.
I have examined the LastErrorText which displayed Out of Memory exception.
I have system with 4 GB RAM and I am trying to zip.WriteToMemory with 2GB data, but still out of memory exception being thrown.
answered Mar 13 '13 at 11:58