Memory consumption in Magick.NET
<p>I have the following lines of code in a function. which reads the image from <code>Amazon S3</code>. Image size which i am reading is of 1.37 MB where as when i ran the profiler it says read function in image magick library takes 5.6 mb which is very high. Can anyone explain this behaviour? I am attaching the snapshot of my profiler as well as code.  </p>

<pre><code> AmazonS3 client = Amazon.AWSClientFactory.CreateAmazonS3Client(
                         accessKey,
                         secretKey
                        );

                GetObjectRequest request = new GetObjectRequest
                {
                    BucketName = bucketName,
                    Key = keyName
                };

                var response = client.GetObject(request);                
                MagickImage imgStream = new MagickImage(response.ResponseStream);
</code></pre>

<p><a href="https://i.stack.imgur.com/2c9N1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2c9N1.png" alt="enter image description here"></a></p>