With Image.FromFile you can load an image into RAM. With ‘var [] bytes = new byte[1000000]’ you can get some other RAM for your tests. Memory-consumption experiments can be also done with MemoryStream.
No comments:
Post a Comment