Question: how much will gzip compress?
Answer: Usually you don't get more than 95% compression (so that 10kB gzipped data would decompress to ~200kB), but there are specially crafted files that expand exponentially. Look for 42. zip , it decompresses to few petabytes of (meaningless) data.