>Funnily enough I just came across an article which may be of some interest regarding this problem:
>
>
http://www.codeproject.com/Articles/24790/Faster-String-BuildingThanks for the reference
To obtain the highest performance, StringBuilder as is is still the fastest way. At least, this is what this article talks about. But, to be more secure, in regards to memory issue, his class is something to consider.
In my case, it is not something that is done on a very large string nor in a very large loop. I have a string with about 400 characters that I am calling my StrTran() method a few times to adjust, if necessary, certain words. But, due to the fact that the CPU was crowded, on that specific IIS worker process, it failed pretty much everywhere on several hits, including that location.
Now, as to know if this could have been the initial trigger. Probably not, but we never know until we can find and simulate the same situation again. My main concern is to make sure that the StrTran() method I am using is not accumulating something in memory. To my knowledge, I do not think it is.