Decompressing a very large serialized object and managing memory
- by Mike_G
I have an object that contains tons of data used for reports. In order to get this object from the server to the client I first serialize the object in a memory stream, then compress it using the Gzip stream of .NET. I then send the compressed object as a byte[] to the client.
The problem is on some clients, when they get the byte[] and try to…