Marbry Hardin - 2014-02-06

Have a C# service that does image conversion using FreeImage.

It utilizes the .Net wrapper and calls the Save() method from within a parallel foreach. I kept getting an invalid memory access violation from the freeimage.dll on save when max parallelism was near or over the number of physical processors.

I disabled hyperthreading (quad core xeon, 64 bit Win7) and these errors have completely gone away. Even using settings that I was able to consistently generate an error with before.

Has anyone else run into this?

Last edit: Marbry Hardin 2014-02-06