Home Forums .NET libraries Xceed Zip & Real-Time Zip for .NET Real-Time Zip for .NET without intermediate storage?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #19887 |

    I’m considering using Xceed Real-Time Zip for .NET to compress large files and send over the wire to a SQL database. In all the documentation it says that it doesn’t use any intermediate storage (either disk or memory). I’ve looked at the sample .NET code for using this component.

    When reading in a file, the compressed version of it needs to be stored in memory. In my case, the files a need to process can range from vary small to vary large (+1GB). Processing large files, even though compressed, could consume a lot of memory. What I was hoping to be able to do was as the file is read and compressed on the fly, send the compressed bytes to the database and only use memory as a buffer for what is being compressed and not needing to compress the whole file first. Is this posssible to do with Real-Time Zip for .NET?

    Leo

    Imported from legacy forums. Posted by lschnitz (had 2134 views)

    Xceed Support
    Member
    Post count: 5658

    This is exactly what Real-Time Zip for .NET does. If you have access to a stream in writing to the database, you can directly compress the data into the database.

    Imported from legacy forums. Posted by CharlesB (had 3062 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.