I am trying to develop VB.NET application which it will compress files one by one but the problem is the size of each file is too large in size about (1.6 GB) and when I am trying to compress it using FileStream and Buffer it shows to me Memory Limit exceeded (Out of memory). I did alot of research trying to find a good method or peace of code that help me but no luck.

I would use third party free DLL or something similar but I can't find anything. I need to compress the file in ZIP format but I don't want to use filestream and buffer anymore because my application usually will compress large files (one by one). So can anyone help me please?


Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.