I use IEVolution/ImageEN 4.12, DCRAWLib 1.452. After running the test code below the memory taken by the test application is drastically raised: from 10MB up to 450MB.
private IEImage CachedIEImage = new IEImage();
public Form1()
{
InitializeComponent();
IEImage.FileFormatRemove(IEFileFormats.RAW);
IEImage.AddExtIOPlugin(@"dcrawlib.dll");
}
private void LoadTestImage()
{
CachedIEImage.IOParams.ResetInfo();
string fileName = @"e:\TestImportCR2\TestCR2-1.CR2";
CachedIEImage.LoadImageInfo(fileName, IEImage.FindFileFormat(fileName, false));
}
private void button1_Click(object sender, EventArgs e)
{
for(int i = 0; i<20000; i++)
{
TestLoadImage();
Text = i.ToString();
Application.DoEvents();
}
}