We have a .NET 4.0 WPF client application that's downloaded and executed on hundreds of client PCs/servers daily.
We recently had a customer call our support line and report an error with one of our routines. Upon a closer investigation, I discovered that this one machine seems WAY more inclined to encounter a StackOverflow exception when executing one of our recursive algorithms.
Where as another machine with the exact same data set could complete the algorithm with 30 recursive iterations, on this machine it would fail every time before it progressed that far.
(1) Is it be possible that a certain machine (or OS configuration) is more likely to encounter StackOverflow exceptions? Why would one machine fail before 30 iterations and another go way beyond? Is something else taking up space in the "stack"?
On a possibly related note, this same customer's error log was filled with "Not enough quota is available to process this command" exceptions while trying to click on buttons, open dialogs, etc.
(2) Could these two errors point to a common cause?
The OS is Windows Server 2012.
UPDATE: I came across Why does a recursive call cause StackOverflow at different stack depths? and this definitely looks like it could possibly happen. I still can't pin-point which setting is could cause this.