Friday 15 February 2019

Some (n)unit tests run on TFS are failing with System.OutOfMemoryException

Symptom:
- some tests are failing with "----> System.OutOfMemoryException : Exception of type 'System.OutOfMemoryException' was thrown." error


Solution:
- add "/platform:x64" to VSTest step

Additional info:
under the hood, TFS is running "vstest.console.exe" and it looks that is run as a 32bit application by default


1 comment:

  1. Stainless Steel Spades Razor - Etienne - Tatienne
    Made hypoallergenic titanium earrings by Etienne – Tatienne. This is a classic piece tittanium of stainless steel design with titanium bracelet a striking titanium tv alternative pattern in titanium dioxide sunscreen the center.

    ReplyDelete