Hi I am trying to load a 8 page .TIFF file using ImageList. In doing so i can watch the memory allocated for my application boosts upto almost 600M. The files is merely a 4.6M in the disk.
Is there a reason for this observation?
MagickNET ReadImages consumes huge amount of memory
Re: MagickNET ReadImages consumes huge amount of memory
Hi Magick,
Thanks for the reference URL. It is quite intriguing that by design imagemagick consume that memory.
I just finished testing another 32 page TIFF file. This is merely a 2.8Mb in disk. To experiment I just called the ReadImages() in MagickNet and the memory consumed after loading was 1.6Gb.
my sample code is;
string file = "c:\temp\abc.tiff";
ImageMagickNET.ImageList imlist = new ImageMagickNET.ImageList();
imlist.ReadImages(file);
Message.Show("pause here to check the taskmanager memory usage");
When I check the memory in the task manager the cosumed memory is about 1.6Gb.
It does not look like an expected behaviour.
Anyone else experienced this behaviour?
Thanks for the reference URL. It is quite intriguing that by design imagemagick consume that memory.
I just finished testing another 32 page TIFF file. This is merely a 2.8Mb in disk. To experiment I just called the ReadImages() in MagickNet and the memory consumed after loading was 1.6Gb.
my sample code is;
string file = "c:\temp\abc.tiff";
ImageMagickNET.ImageList imlist = new ImageMagickNET.ImageList();
imlist.ReadImages(file);
Message.Show("pause here to check the taskmanager memory usage");
When I check the memory in the task manager the cosumed memory is about 1.6Gb.
It does not look like an expected behaviour.
Anyone else experienced this behaviour?