Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: How to limit number of CPU cores used by magick.net ?

$
0
0
There's only one thread running the batch process, so after your answer, I tried but failed to reproduce the issue in a test project.
But by investigating, I found the folowing exception in my logs :

2014-12-09 15:11:30.7349 | FATAL: EXCEPTION: Exception : InvalidOperationException
Failed to load embedded assembly: Accès refusé. (Exception de HRESULT : 0x80070005 (E_ACCESSDENIED))
à ImageMagick.ResourceLimits.set_Thread(UInt64 value)
Magick.NET-AnyCPU

The issue is while setting the ResourceLimits.Thread property, not while using Magick.net. And it only happens while running in IIS, not in VS...
The magick.net assembly seems loaded, as the resize process work correctly...

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>