We were able to track down (and hopefully fix) the issue. Altogether it seems to be related to the fact that SpecFlow loads the bindings for each test thread appdomain. If you have quite many step definitions and SpecFlow processes the regular expression for each of these. For some reason (hoping for better performance), we use the "Compiled" option for these regular expression, that increases the memory usage quite much (~5 times more than w/o). I have also measured now, that this regex option does not really give any performance benefit for the kind of regex patterns people use for step definitions, so removing this "Compiled" flag should be the core of the solution here.
I have created a patched version of TechTalk.SpecFlow.dll, that does not have the Compiled regex flag. You can download it from https://dl.dropboxusercontent.com/u/51289/SpecRun/TechTalk.SpecFlow_regex_fix.zip.
Please replace the specflow dll in your packages folder with this one, recompile everything and try again.
I'm looking forward to hear the results!Problemsignatur:
Problemereignisname: APPCRASH
Anwendungsname: SpecRun.exe
Anwendungsversion: 1.2.0.15
Anwendungszeitstempel: 520e3837
Fehlermodulname: clr.dll
Fehlermodulversion: 4.0.30319.18444
Fehlermodulzeitstempel: 52717f9a
Ausnahmecode: c00000fd
Ausnahmeoffset: 0000000000224f70
Betriebsystemversion: 6.1.7601.2.1.0.400.8
Gebietsschema-ID: 1031
Zusatzinformation 1: 87dd
Zusatzinformation 2: 87dd6cccb79005c6f94a0d9103803118
Zusatzinformation 3: b1e5
Zusatzinformation 4: b1e55aeb6586582f617f1cee2ae9208d