Windows Server 2008R2 has Ghostscript 9.14 64bit version, with latest Magick.NET-x64.dll 6.8.8.901 of 23March2014. Used in ASP.NET 4.0 application with Full Trust Level.
```
Magick: Postscript delegate failed `C:\CCP\CCP_363.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/713
at ImageMagick.MagickImageCollection.HandleReadException(MagickException exception)
at ImageMagick.MagickImageCollection.Read(String fileName, MagickReadSettings readSettings)
```
Problem starts after once read timeout and thread abort in ASP.NET application. Its already kept to 300ms timeout.
Subsequent try gets following.
```
Magick: unable to create temporary file `C:\CCP\CCP_363.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/400
at ImageMagick.MagickImageCollection.HandleReadException(MagickException exception)
at ImageMagick.MagickImageCollection.Read(String fileName, MagickReadSettings readSettings)
```
PDF Size: 829kb
PDF Pages: 17
```
Magick: unable to extend cache `C:\Windows\TEMP\magick-3700Zf3OhYnRtPra17': No space left on device @ error/cache.c/OpenPixelCache/3691
```
It create more than 1.3GB temp files. Its not removing temp files after writing Tiff. I just cleared about 10Gb+ temp files of different tests. But the issue remains is lots of time taken for conversion along with unexpected errors as noted above.
Comments: ** Comment from web user: dlemstra **
```
Magick: Postscript delegate failed `C:\CCP\CCP_363.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/713
at ImageMagick.MagickImageCollection.HandleReadException(MagickException exception)
at ImageMagick.MagickImageCollection.Read(String fileName, MagickReadSettings readSettings)
```
Problem starts after once read timeout and thread abort in ASP.NET application. Its already kept to 300ms timeout.
Subsequent try gets following.
```
Magick: unable to create temporary file `C:\CCP\CCP_363.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/400
at ImageMagick.MagickImageCollection.HandleReadException(MagickException exception)
at ImageMagick.MagickImageCollection.Read(String fileName, MagickReadSettings readSettings)
```
PDF Size: 829kb
PDF Pages: 17
```
Magick: unable to extend cache `C:\Windows\TEMP\magick-3700Zf3OhYnRtPra17': No space left on device @ error/cache.c/OpenPixelCache/3691
```
It create more than 1.3GB temp files. Its not removing temp files after writing Tiff. I just cleared about 10Gb+ temp files of different tests. But the issue remains is lots of time taken for conversion along with unexpected errors as noted above.
Comments: ** Comment from web user: dlemstra **
I told you to set the CacheDirectory before you execute any other Magick.NET code but you are setting the TempDirectory before that. Can you change the order and try again? If you want to continue talking about this then please start a new topic in the discussion part instead of this unrelated issue.