Your code seems fine, that's what we had in mind. This should work if the system resources are enough.
You could try to wrap a .NET stream around the response stream, just to see if you get the same exception. This would indicate the problem is not with CompressedStream. You can try with BufferedStream or DeflateStream.
André
Software Developer and Tech Support
Xceed Software Inc.