1

Resolved

Memory leak in VS runner

description

Reported by Terje Sandstrøm

The Visual Studio Execution Engine holds onto the adapter. That is the default behavior if not any adapter in the chain explicitly tells it to shutdown. Currently no one does. I did some measurements with the Process Explorer and found the memory increasing. See the attached screenshot.

file attachments

comments

BradWilson wrote Dec 7, 2013 at 7:08 PM

The memory leak is not limited to the Visual Studio runner; it's just one of the most obvious ways to show it. We are working to resolve this in at least the 2.0 release, but may also back-port the fix to 1.x (since it has literally existed for the entire life of xUnit.net).

BradWilson wrote Dec 7, 2013 at 7:08 PM

BradWilson wrote Jan 18, 2014 at 6:47 PM

For v2: Fixed in change set #9ad2a8c.