Prefer using Stream to byte[] A short example of how byte[] misuse may hurt memory consumption Click here to read the article