Not sure if this is in the right sub, but I figured it would be a good place to start, since my application is written in C#.
Over the past couple months, I have been working on an application which converts PS files to PNG using Ghostscript.net, and then merges these into another PDF document.
There are 100+ PS files which get converted to PNG. This is done with Ghostscript.net and is multithreaded. I have not posted any code, because I don't believe my issue is necessarily code related. I have tested this program hundreds of times over the past couple months without issue. Yesterday I went to test it again, and the multithreaded portion was going incredibly slow. The CPU usage hovers around 100% during this portion, but the output is taking exponentially longer to produce.
I attempted to run an older, more stable, version of this application, and have the same issue. I also reduced the number of files it is running to just 1 PS file, and it still runs incredibly slow. Anything over 4 PS files ends up "timing out" or throwing an exception after attempting to run for about 5 minutes.
I ran my application on other computers, with less memory and processing power, and the other computers run it without issue.
My question is basically, what could have happened with my machine to cause these issues? Where is a good place to start investigating. I am using a work computer, so my level of access is limited. When I ran the program with only 4 PS files, the conversion process took a very long time, but the code that is executed after seems to have no performance issues. I am using a Windows 7 machine with an Intel core i7 and 16GB of RAM.
by TheirBadAtGrammar via /r/csharp